#CB5ECF#CB5ECF

#CB5ECF is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.6% C 0.194 H 326.1°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#CB5ECF
RGBrgb(203, 94, 207)
HSLhsl(298, 54%, 59%)
HSVhsv(298, 55%, 81%)
CMYKcmyk(1.9%, 54.6%, 0%, 18.8%)
CIE-LABlab(57.28, 58.50, -39.24)
CIE-LCHlch(57.28, 70.44, 326.15°)
OKLaboklab(65.62% 0.1612 -0.1082)
OKLCHoklch(65.62% 0.194 326.1)
XYZxyz(39.8930, 25.2092, 61.7840)
Luminance0.2521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5ECF #62CF5E
analogous
#935ECF #CB5ECF #CF5E9B
triadic
#CB5ECF #CFCB5E #5ECFCB
tetradic
#CB5ECF #CF935E #62CF5E #5E9BCF
square
#CB5ECF #CF935E #62CF5E #5E9BCF
split-complementary
#CB5ECF #9BCF5E #5ECF93
monochromatic
#86298A #B437B9 #CB5ECF #DA8DDD #E9BCEB

Accessibility & contrast

On white

3.48
#CB5ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#CB5ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5ECF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5ECF#FFFFFF#000000##000000
##CB5ECF1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5081D3
Deuteranopia (green-blind)
#748ECC
Tritanopia (blue-blind)
#D06C8E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb5ecf;
/* rgb */ color: rgb(203, 94, 207);
/* oklch */ color: oklch(65.6% 0.194 326.1);
Tailwind
colors: {
  custom: {
    50: '#dd91de',
    500: '#cb5ecf',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ecf;
$custom-light: #dd91de;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ecf",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 297.876,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65624,
    "c": 0.19415,
    "h": 326.1
  },
  "luminance": 0.25207
}

Semantic roles & 50–950 ramp

primary
#CB5ECF
secondary
#B0DBAE
accent
#DD4A50
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CB5ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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