#CF7FEA#CF7FEA

#CF7FEA is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.0% C 0.170 H 317.1°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#CF7FEA
RGBrgb(207, 127, 234)
HSLhsl(285, 72%, 71%)
HSVhsv(285, 46%, 92%)
CMYKcmyk(11.5%, 45.7%, 0%, 8.2%)
CIE-LABlab(65.27, 48.35, -41.79)
CIE-LCHlch(65.27, 63.91, 319.16°)
OKLaboklab(72.05% 0.1247 -0.1157)
OKLCHoklch(72.05% 0.17 317.1)
XYZxyz(48.1707, 34.3861, 81.9256)
Luminance0.3438 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FEA #9AEA7F
analogous
#997FEA #CF7FEA #EA7FCF
triadic
#CF7FEA #EACF7F #7FEACF
tetradic
#CF7FEA #EA997F #9AEA7F #7FCFEA
square
#CF7FEA #EA997F #9AEA7F #7FCFEA
split-complementary
#CF7FEA #CFEA7F #7FEA99
monochromatic
#A222CD #BB4AE1 #CF7FEA #E3B4F3 #F5E5FB

Accessibility & contrast

On white

2.67
#CF7FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#CF7FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FEA
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FEA#FFFFFF#000000##000000
##CF7FEA1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#82A1E7
Tritanopia (blue-blind)
#CE8EAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7fea;
/* rgb */ color: rgb(207, 127, 234);
/* oklch */ color: oklch(72.0% 0.170 317.1);
Tailwind
colors: {
  custom: {
    50: '#dfa6f1',
    500: '#cf7fea',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fea;
$custom-light: #dfa6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fea",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 284.86,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72047,
    "c": 0.1701,
    "h": 317.1
  },
  "luminance": 0.34385
}

Semantic roles & 50–950 ramp

primary
#CF7FEA
secondary
#DBF1D4
accent
#D41243
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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