#CF7DF4#CF7DF4

#CF7DF4 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.2% C 0.184 H 314.4°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#CF7DF4
RGBrgb(207, 125, 244)
HSLhsl(281, 84%, 72%)
HSVhsv(281, 49%, 96%)
CMYKcmyk(15.2%, 48.8%, 0%, 4.3%)
CIE-LABlab(65.33, 51.42, -47.21)
CIE-LCHlch(65.33, 69.81, 317.45°)
OKLaboklab(72.25% 0.1288 -0.1313)
OKLCHoklch(72.25% 0.184 314.4)
XYZxyz(49.3923, 34.4656, 89.6211)
Luminance0.3446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DF4 #A2F47D
analogous
#947DF4 #CF7DF4 #F47DDD
triadic
#CF7DF4 #F4CF7D #7DF4CF
tetradic
#CF7DF4 #F4947D #A2F47D #7DDDF4
square
#CF7DF4 #F4947D #A2F47D #7DDDF4
split-complementary
#CF7DF4 #DDF47D #7DF494
monochromatic
#A313E3 #BA45EF #CF7DF4 #E4B5F9 #F5E3FD

Accessibility & contrast

On white

2.66
#CF7DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#CF7DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DF4
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DF4#FFFFFF#000000##000000
##CF7DF41.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AF8
Deuteranopia (green-blind)
#7BA1F1
Tritanopia (blue-blind)
#CC8FAD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7df4;
/* rgb */ color: rgb(207, 125, 244);
/* oklch */ color: oklch(72.2% 0.184 314.4);
Tailwind
colors: {
  custom: {
    50: '#e0a5f8',
    500: '#cf7df4',
    950: '#000000',
  },
}
SCSS
$custom: #cf7df4;
$custom-light: #e0a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7df4",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 281.345,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72245,
    "c": 0.18396,
    "h": 314.4
  },
  "luminance": 0.34464
}

Semantic roles & 50–950 ramp

primary
#CF7DF4
secondary
#E0F5D6
accent
#E10549
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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