#CF76EF#CF76EF

#CF76EF is a light, vivid purple. Relative luminance 0.325; OKLCH L 71.0% C 0.190 H 316.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CF76EF
RGBrgb(207, 118, 239)
HSLhsl(284, 79%, 70%)
HSVhsv(284, 51%, 94%)
CMYKcmyk(13.4%, 50.6%, 0%, 6.3%)
CIE-LABlab(63.72, 53.97, -46.99)
CIE-LCHlch(63.72, 71.57, 318.96°)
OKLaboklab(70.97% 0.1376 -0.1307)
OKLCHoklch(70.97% 0.19 316.5)
XYZxyz(47.7882, 32.4558, 85.3919)
Luminance0.3245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF76EF #96EF76
analogous
#9276EF #CF76EF #EF76D3
triadic
#CF76EF #EFCF76 #76EFCF
tetradic
#CF76EF #EF9276 #96EF76 #76D3EF
square
#CF76EF #EF9276 #96EF76 #76D3EF
split-complementary
#CF76EF #D3EF76 #76EF92
monochromatic
#A119D2 #BC3FE9 #CF76EF #E2ADF5 #F5E4FC

Accessibility & contrast

On white

2.80
#CF76EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#CF76EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF76EF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF76EF#FFFFFF#000000##000000
##CF76EF1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#789DEC
Tritanopia (blue-blind)
#CE88A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf76ef;
/* rgb */ color: rgb(207, 118, 239);
/* oklch */ color: oklch(71.0% 0.190 316.5);
Tailwind
colors: {
  custom: {
    50: '#e0a0f5',
    500: '#cf76ef',
    950: '#000000',
  },
}
SCSS
$custom: #cf76ef;
$custom-light: #e0a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf76ef",
  "rgb": {
    "r": 207,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 284.132,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.70973,
    "c": 0.18977,
    "h": 316.5
  },
  "luminance": 0.32454
}

Semantic roles & 50–950 ramp

primary
#CF76EF
secondary
#D8F1CF
accent
#DB0A41
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF76EF

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

Preview Lab → · Contrast checker → · Palette generator →

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