#CF7FE2#CF7FE2

#CF7FE2 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.7% C 0.162 H 319.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#CF7FE2
RGBrgb(207, 127, 226)
HSLhsl(288, 63%, 69%)
HSVhsv(288, 44%, 89%)
CMYKcmyk(8.4%, 43.8%, 0%, 11.4%)
CIE-LABlab(64.91, 46.76, -37.91)
CIE-LCHlch(64.91, 60.20, 320.96°)
OKLaboklab(71.67% 0.1234 -0.1045)
OKLCHoklch(71.67% 0.162 319.7)
XYZxyz(47.0472, 33.9368, 76.0089)
Luminance0.3393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FE2 #92E27F
analogous
#9E7FE2 #CF7FE2 #E27FC4
triadic
#CF7FE2 #E2CF7F #7FE2CF
tetradic
#CF7FE2 #E29E7F #92E27F #7FC4E2
square
#CF7FE2 #E29E7F #92E27F #7FC4E2
split-complementary
#CF7FE2 #C4E27F #7FE29E
monochromatic
#A02BBC #BC4DD7 #CF7FE2 #E2B1ED #F4E3F9

Accessibility & contrast

On white

2.70
#CF7FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#CF7FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FE2
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FE2#FFFFFF#000000##000000
##CF7FE21.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E6
Deuteranopia (green-blind)
#86A0DF
Tritanopia (blue-blind)
#D08CA6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf7fe2;
/* rgb */ color: rgb(207, 127, 226);
/* oklch */ color: oklch(71.7% 0.162 319.7);
Tailwind
colors: {
  custom: {
    50: '#dfa6eb',
    500: '#cf7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fe2;
$custom-light: #dfa6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fe2",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 288.485,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71665,
    "c": 0.16171,
    "h": 319.7
  },
  "luminance": 0.33935
}

Semantic roles & 50–950 ramp

primary
#CF7FE2
secondary
#D6EDD0
accent
#CB1B3C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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