#C238B5#C238B5

#C238B5 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.0% C 0.219 H 332.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C238B5
RGBrgb(194, 56, 181)
HSLhsl(306, 55%, 49%)
HSVhsv(306, 71%, 76%)
CMYKcmyk(0%, 71.1%, 6.7%, 23.9%)
CIE-LABlab(49.05, 67.45, -37.28)
CIE-LCHlch(49.05, 77.07, 331.07°)
OKLaboklab(58.96% 0.1935 -0.1025)
OKLCHoklch(58.96% 0.219 332.1)
XYZxyz(32.0029, 17.6365, 45.4258)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238B5 #38C245
analogous
#8A38C2 #C238B5 #C23870
triadic
#C238B5 #B5C238 #38B5C2
tetradic
#C238B5 #C28A38 #38C245 #3870C2
square
#C238B5 #C28A38 #38C245 #3870C2
split-complementary
#C238B5 #70C238 #38C28A
monochromatic
#631D5C #932A89 #C238B5 #D265C8 #E094D9

Accessibility & contrast

On white

4.64
#C238B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C238B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C238B5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238B5#FFFFFF#000000##FFFFFF
##C238B51.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3068B8
Deuteranopia (green-blind)
#647BB2
Tritanopia (blue-blind)
#CA4773
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c238b5;
/* rgb */ color: rgb(194, 56, 181);
/* oklch */ color: oklch(59.0% 0.219 332.1);
Tailwind
colors: {
  custom: {
    50: '#d87bcb',
    500: '#c238b5',
    950: '#000000',
  },
}
SCSS
$custom: #c238b5;
$custom-light: #d87bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#c238b5",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 305.652,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58964,
    "c": 0.21895,
    "h": 332.1
  },
  "luminance": 0.17634
}

Semantic roles & 50–950 ramp

primary
#C238B5
secondary
#8ACB91
accent
#DF5749
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C238B5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C238B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva