#CF4ED9#CF4ED9

#CF4ED9 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.8% C 0.227 H 324.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CF4ED9
RGBrgb(207, 78, 217)
HSLhsl(296, 65%, 58%)
HSVhsv(296, 64%, 85%)
CMYKcmyk(4.6%, 64.1%, 0%, 14.9%)
CIE-LABlab(55.81, 68.19, -47.18)
CIE-LCHlch(55.81, 82.92, 325.32°)
OKLaboklab(64.83% 0.1857 -0.131)
OKLCHoklch(64.83% 0.227 324.8)
XYZxyz(40.9799, 23.7264, 68.0533)
Luminance0.2372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4ED9 #58D94E
analogous
#894ED9 #CF4ED9 #D94E9E
triadic
#CF4ED9 #D9CF4E #4ED9CF
tetradic
#CF4ED9 #D9894E #58D94E #4E9ED9
square
#CF4ED9 #D9894E #58D94E #4E9ED9
split-complementary
#CF4ED9 #9ED94E #4ED989
monochromatic
#861F8E #B629C0 #CF4ED9 #DD80E4 #EAB3EF

Accessibility & contrast

On white

3.66
#CF4ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CF4ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4ED9
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4ED9#FFFFFF#000000##000000
##CF4ED91.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#337CDD
Deuteranopia (green-blind)
#678BD5
Tritanopia (blue-blind)
#D3638D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf4ed9;
/* rgb */ color: rgb(207, 78, 217);
/* oklch */ color: oklch(64.8% 0.227 324.8);
Tailwind
colors: {
  custom: {
    50: '#e189e5',
    500: '#cf4ed9',
    950: '#000000',
  },
}
SCSS
$custom: #cf4ed9;
$custom-light: #e189e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4ed9",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 295.683,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64834,
    "c": 0.22722,
    "h": 324.8
  },
  "luminance": 0.23724
}

Semantic roles & 50–950 ramp

primary
#CF4ED9
secondary
#AADDA6
accent
#E8404C
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CF4ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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