#C238B1#C238B1

#C238B1 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.216 H 333.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C238B1
RGBrgb(194, 56, 177)
HSLhsl(307, 55%, 49%)
HSVhsv(307, 71%, 76%)
CMYKcmyk(0%, 71.1%, 8.8%, 23.9%)
CIE-LABlab(48.85, 66.84, -35.25)
CIE-LCHlch(48.85, 75.56, 332.19°)
OKLaboklab(58.76% 0.1932 -0.0966)
OKLCHoklch(58.76% 0.216 333.4)
XYZxyz(31.5983, 17.4747, 43.2952)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238B1 #38C249
analogous
#8E38C2 #C238B1 #C2386C
triadic
#C238B1 #B1C238 #38B1C2
tetradic
#C238B1 #C28E38 #38C249 #386CC2
square
#C238B1 #C28E38 #38C249 #386CC2
split-complementary
#C238B1 #6CC238 #38C28E
monochromatic
#631D5A #932A86 #C238B1 #D265C5 #E094D7

Accessibility & contrast

On white

4.67
#C238B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C238B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C238B1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238B1#FFFFFF#000000##FFFFFF
##C238B11.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B4
Deuteranopia (green-blind)
#667BAE
Tritanopia (blue-blind)
#CB4570
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c238b1;
/* rgb */ color: rgb(194, 56, 177);
/* oklch */ color: oklch(58.8% 0.216 333.4);
Tailwind
colors: {
  custom: {
    50: '#d87bc8',
    500: '#c238b1',
    950: '#000000',
  },
}
SCSS
$custom: #c238b1;
$custom-light: #d87bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#c238b1",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 177
  },
  "hsl": {
    "h": 307.391,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58756,
    "c": 0.21604,
    "h": 333.4
  },
  "luminance": 0.17472
}

Semantic roles & 50–950 ramp

primary
#C238B1
secondary
#8ACB92
accent
#DF5C49
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C238B1

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

Preview Lab → · Contrast checker → · Palette generator →

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