#CF7FEE#CF7FEE

#CF7FEE is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.2% C 0.174 H 315.9°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#CF7FEE
RGBrgb(207, 127, 238)
HSLhsl(283, 77%, 72%)
HSVhsv(283, 47%, 93%)
CMYKcmyk(13%, 46.6%, 0%, 6.7%)
CIE-LABlab(65.45, 49.16, -43.71)
CIE-LCHlch(65.45, 65.78, 318.36°)
OKLaboklab(72.24% 0.1253 -0.1212)
OKLCHoklch(72.24% 0.174 315.9)
XYZxyz(48.7518, 34.6186, 84.9863)
Luminance0.3462 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FEE #9EEE7F
analogous
#987FEE #CF7FEE #EE7FD6
triadic
#CF7FEE #EECF7F #7FEECF
tetradic
#CF7FEE #EE987F #9EEE7F #7FD6EE
square
#CF7FEE #EE987F #9EEE7F #7FD6EE
split-complementary
#CF7FEE #D6EE7F #7FEE98
monochromatic
#A21CD6 #BB49E7 #CF7FEE #E3B5F5 #F5E4FB

Accessibility & contrast

On white

2.65
#CF7FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#CF7FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FEE
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FEE#FFFFFF#000000##000000
##CF7FEE1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF2
Deuteranopia (green-blind)
#80A1EB
Tritanopia (blue-blind)
#CE8FAB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7fee;
/* rgb */ color: rgb(207, 127, 238);
/* oklch */ color: oklch(72.2% 0.174 315.9);
Tailwind
colors: {
  custom: {
    50: '#e0a6f4',
    500: '#cf7fee',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fee;
$custom-light: #e0a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fee",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 283.243,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72242,
    "c": 0.17435,
    "h": 315.9
  },
  "luminance": 0.34617
}

Semantic roles & 50–950 ramp

primary
#CF7FEE
secondary
#DEF3D6
accent
#D90D46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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