#CF7FE6#CF7FE6

#CF7FE6 is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.9% C 0.166 H 318.4°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#CF7FE6
RGBrgb(207, 127, 230)
HSLhsl(287, 67%, 70%)
HSVhsv(287, 45%, 90%)
CMYKcmyk(10%, 44.8%, 0%, 9.8%)
CIE-LABlab(65.09, 47.55, -39.86)
CIE-LCHlch(65.09, 62.05, 320.03°)
OKLaboklab(71.85% 0.1241 -0.1101)
OKLCHoklch(71.85% 0.166 318.4)
XYZxyz(47.6025, 34.1589, 78.9333)
Luminance0.3416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FE6 #96E67F
analogous
#9C7FE6 #CF7FE6 #E67FC9
triadic
#CF7FE6 #E6CF7F #7FE6CF
tetradic
#CF7FE6 #E69C7F #96E67F #7FC9E6
square
#CF7FE6 #E69C7F #96E67F #7FC9E6
split-complementary
#CF7FE6 #C9E67F #7FE69C
monochromatic
#A126C4 #BC4CDC #CF7FE6 #E2B2F0 #F5E5FA

Accessibility & contrast

On white

2.68
#CF7FE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#CF7FE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FE6
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FE6#FFFFFF#000000##000000
##CF7FE61.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E99EA
Deuteranopia (green-blind)
#84A1E3
Tritanopia (blue-blind)
#CF8DA8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7fe6;
/* rgb */ color: rgb(207, 127, 230);
/* oklch */ color: oklch(71.9% 0.166 318.4);
Tailwind
colors: {
  custom: {
    50: '#dfa6ee',
    500: '#cf7fe6',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fe6;
$custom-light: #dfa6ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fe6",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 230
  },
  "hsl": {
    "h": 286.602,
    "s": 67.32,
    "l": 70
  },
  "oklch": {
    "l": 0.71854,
    "c": 0.16589,
    "h": 318.4
  },
  "luminance": 0.34157
}

Semantic roles & 50–950 ramp

primary
#CF7FE6
secondary
#D8EFD2
accent
#CF1640
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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