#CF5EC2#CF5EC2

#CF5EC2 is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.5% C 0.185 H 332.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#CF5EC2
RGBrgb(207, 94, 194)
HSLhsl(307, 54%, 59%)
HSVhsv(307, 55%, 81%)
CMYKcmyk(0%, 54.6%, 6.3%, 18.8%)
CIE-LABlab(57.24, 57.35, -31.85)
CIE-LCHlch(57.24, 65.60, 330.96°)
OKLaboklab(65.52% 0.1639 -0.0869)
OKLCHoklch(65.52% 0.186 332.1)
XYZxyz(39.4723, 25.1685, 53.8075)
Luminance0.2517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5EC2 #5ECF6B
analogous
#A45ECF #CF5EC2 #CF5E8A
triadic
#CF5EC2 #C2CF5E #5EC2CF
tetradic
#CF5EC2 #CFA45E #5ECF6B #5E8ACF
square
#CF5EC2 #CFA45E #5ECF6B #5E8ACF
split-complementary
#CF5EC2 #8ACF5E #5ECFA4
monochromatic
#8A297E #B937AA #CF5EC2 #DD8DD4 #EBBCE6

Accessibility & contrast

On white

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

On black

6.03
#CF5EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5EC2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5EC2#FFFFFF#000000##000000
##CF5EC21.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7FC5
Deuteranopia (green-blind)
#7C8FBF
Tritanopia (blue-blind)
#D76788
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cf5ec2;
/* rgb */ color: rgb(207, 94, 194);
/* oklch */ color: oklch(65.5% 0.185 332.1);
Tailwind
colors: {
  custom: {
    50: '#e091d4',
    500: '#cf5ec2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ec2;
$custom-light: #e091d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ec2",
  "rgb": {
    "r": 207,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 306.903,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65516,
    "c": 0.1855,
    "h": 332.1
  },
  "luminance": 0.25166
}

Semantic roles & 50–950 ramp

primary
#CF5EC2
secondary
#AEDBB3
accent
#DD5B4A
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF5EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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