#CF5ECB#CF5ECB

#CF5ECB is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.9% C 0.193 H 328.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CF5ECB
RGBrgb(207, 94, 203)
HSLhsl(302, 54%, 59%)
HSVhsv(302, 55%, 81%)
CMYKcmyk(0%, 54.6%, 1.9%, 18.8%)
CIE-LABlab(57.64, 58.87, -36.35)
CIE-LCHlch(57.64, 69.19, 328.30°)
OKLaboklab(65.94% 0.1652 -0.0998)
OKLCHoklch(65.94% 0.193 328.9)
XYZxyz(40.5138, 25.5851, 59.2928)
Luminance0.2558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5ECB #5ECF62
analogous
#9B5ECF #CF5ECB #CF5E93
triadic
#CF5ECB #CBCF5E #5ECBCF
tetradic
#CF5ECB #CF9B5E #5ECF62 #5E93CF
square
#CF5ECB #CF9B5E #5ECF62 #5E93CF
split-complementary
#CF5ECB #93CF5E #5ECF9B
monochromatic
#8A2986 #B937B4 #CF5ECB #DD8DDA #EBBCE9

Accessibility & contrast

On white

3.43
#CF5ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#CF5ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5ECB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5ECB#FFFFFF#000000##000000
##CF5ECB1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CE
Deuteranopia (green-blind)
#7890C8
Tritanopia (blue-blind)
#D56A8C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf5ecb;
/* rgb */ color: rgb(207, 94, 203);
/* oklch */ color: oklch(65.9% 0.193 328.9);
Tailwind
colors: {
  custom: {
    50: '#e091db',
    500: '#cf5ecb',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ecb;
$custom-light: #e091db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ecb",
  "rgb": {
    "r": 207,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 302.124,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65942,
    "c": 0.19301,
    "h": 328.9
  },
  "luminance": 0.25583
}

Semantic roles & 50–950 ramp

primary
#CF5ECB
secondary
#AEDBB0
accent
#DD504A
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF5ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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