#CF5DF4#CF5DF4

#CF5DF4 is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.0% C 0.231 H 317.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#CF5DF4
RGBrgb(207, 93, 244)
HSLhsl(285, 87%, 66%)
HSVhsv(285, 62%, 96%)
CMYKcmyk(15.2%, 61.9%, 0%, 4.3%)
CIE-LABlab(59.55, 66.84, -56.38)
CIE-LCHlch(59.55, 87.44, 319.85°)
OKLaboklab(68.01% 0.169 -0.1579)
OKLCHoklch(68.01% 0.231 317)
XYZxyz(45.9732, 27.6275, 88.4814)
Luminance0.2763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DF4 #82F45D
analogous
#835DF4 #CF5DF4 #F45DCD
triadic
#CF5DF4 #F4CF5D #5DF4CF
tetradic
#CF5DF4 #F4835D #82F45D #5DCDF4
square
#CF5DF4 #F4835D #82F45D #5DCDF4
split-complementary
#CF5DF4 #CDF45D #5DF483
monochromatic
#9B0EC9 #BE24F0 #CF5DF4 #E096F8 #F1D0FC

Accessibility & contrast

On white

3.22
#CF5DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#CF5DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DF4
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DF4#FFFFFF#000000##000000
##CF5DF41.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C88F9
Deuteranopia (green-blind)
#6093F0
Tritanopia (blue-blind)
#CD78A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cf5df4;
/* rgb */ color: rgb(207, 93, 244);
/* oklch */ color: oklch(68.0% 0.231 317.0);
Tailwind
colors: {
  custom: {
    50: '#e191f8',
    500: '#cf5df4',
    950: '#000000',
  },
}
SCSS
$custom: #cf5df4;
$custom-light: #e191f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5df4",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 285.298,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68007,
    "c": 0.23128,
    "h": 317
  },
  "luminance": 0.27626
}

Semantic roles & 50–950 ramp

primary
#CF5DF4
secondary
#CAEFBE
accent
#E40239
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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