#CF7FE7#CF7FE7

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

Color values

HEX#CF7FE7
RGBrgb(207, 127, 231)
HSLhsl(286, 68%, 70%)
HSVhsv(286, 45%, 91%)
CMYKcmyk(10.4%, 45%, 0%, 9.4%)
CIE-LABlab(65.13, 47.75, -40.34)
CIE-LCHlch(65.13, 62.51, 319.81°)
OKLaboklab(71.9% 0.1242 -0.1115)
OKLCHoklch(71.9% 0.167 318.1)
XYZxyz(47.7433, 34.2152, 79.6750)
Luminance0.3421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FE7 #97E77F
analogous
#9B7FE7 #CF7FE7 #E77FCB
triadic
#CF7FE7 #E7CF7F #7FE7CF
tetradic
#CF7FE7 #E79B7F #97E77F #7FCBE7
square
#CF7FE7 #E79B7F #97E77F #7FCBE7
split-complementary
#CF7FE7 #CBE77F #7FE79B
monochromatic
#A125C6 #BC4BDD #CF7FE7 #E2B3F1 #F5E5FA

Accessibility & contrast

On white

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

On black

7.84
#CF7FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FE7
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FE7#FFFFFF#000000##000000
##CF7FE71.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf7fe7;
/* rgb */ color: rgb(207, 127, 231);
/* oklch */ color: oklch(71.9% 0.167 318.1);
Tailwind
colors: {
  custom: {
    50: '#dfa6ef',
    500: '#cf7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fe7;
$custom-light: #dfa6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fe7",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 286.154,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71902,
    "c": 0.16694,
    "h": 318.1
  },
  "luminance": 0.34214
}

Semantic roles & 50–950 ramp

primary
#CF7FE7
secondary
#D9EFD2
accent
#D01540
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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