#C239DB#C239DB

#C239DB is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.2% C 0.247 H 320.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C239DB
RGBrgb(194, 57, 219)
HSLhsl(291, 69%, 54%)
HSVhsv(291, 74%, 86%)
CMYKcmyk(11.4%, 74%, 0%, 14.1%)
CIE-LABlab(51.28, 73.41, -55.66)
CIE-LCHlch(51.28, 92.13, 322.83°)
OKLaboklab(61.24% 0.192 -0.1559)
OKLCHoklch(61.24% 0.247 320.9)
XYZxyz(36.4960, 19.5120, 68.8479)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C239DB #52DB39
analogous
#7139DB #C239DB #DB39A3
triadic
#C239DB #DBC239 #39DBC2
tetradic
#C239DB #DB7139 #52DB39 #39A3DB
square
#C239DB #DB7139 #52DB39 #39A3DB
split-complementary
#C239DB #A3DB39 #39DB71
monochromatic
#721882 #9F21B6 #C239DB #D26DE4 #E2A1EE

Accessibility & contrast

On white

4.28
#C239DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#C239DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C239DB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C239DB#FFFFFF#000000##000000
##C239DB1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#4C7FD7
Tritanopia (blue-blind)
#C35988
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c239db;
/* rgb */ color: rgb(194, 57, 219);
/* oklch */ color: oklch(61.2% 0.247 320.9);
Tailwind
colors: {
  custom: {
    50: '#d97de7',
    500: '#c239db',
    950: '#000000',
  },
}
SCSS
$custom: #c239db;
$custom-light: #d97de7;
$custom-dark: #000000;
JSON
{
  "hex": "#c239db",
  "rgb": {
    "r": 194,
    "g": 57,
    "b": 219
  },
  "hsl": {
    "h": 290.741,
    "s": 69.231,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61238,
    "c": 0.2473,
    "h": 320.9
  },
  "luminance": 0.1951
}

Semantic roles & 50–950 ramp

primary
#C239DB
secondary
#A0DA95
accent
#EC3C57
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C239DB

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

Preview Lab → · Contrast checker → · Palette generator →

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