#CF7FE4#CF7FE4

#CF7FE4 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.8% C 0.164 H 319.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#CF7FE4
RGBrgb(207, 127, 228)
HSLhsl(288, 65%, 70%)
HSVhsv(288, 44%, 89%)
CMYKcmyk(9.2%, 44.3%, 0%, 10.6%)
CIE-LABlab(65.00, 47.15, -38.89)
CIE-LCHlch(65.00, 61.12, 320.49°)
OKLaboklab(71.76% 0.1237 -0.1073)
OKLCHoklch(71.76% 0.164 319.1)
XYZxyz(47.3233, 34.0472, 77.4627)
Luminance0.3405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FE4 #94E47F
analogous
#9D7FE4 #CF7FE4 #E47FC6
triadic
#CF7FE4 #E4CF7F #7FE4CF
tetradic
#CF7FE4 #E49D7F #94E47F #7FC6E4
square
#CF7FE4 #E49D7F #94E47F #7FC6E4
split-complementary
#CF7FE4 #C6E47F #7FE49D
monochromatic
#A129C0 #BC4CD9 #CF7FE4 #E2B2EF #F5E4F9

Accessibility & contrast

On white

2.69
#CF7FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#CF7FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FE4
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FE4#FFFFFF#000000##000000
##CF7FE41.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F98E8
Deuteranopia (green-blind)
#85A1E1
Tritanopia (blue-blind)
#D08CA7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7fe4;
/* rgb */ color: rgb(207, 127, 228);
/* oklch */ color: oklch(71.8% 0.164 319.1);
Tailwind
colors: {
  custom: {
    50: '#dfa6ed',
    500: '#cf7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fe4;
$custom-light: #dfa6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fe4",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 287.525,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71759,
    "c": 0.1638,
    "h": 319.1
  },
  "luminance": 0.34046
}

Semantic roles & 50–950 ramp

primary
#CF7FE4
secondary
#D7EED1
accent
#CD193E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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