#CF92EC#CF92EC

#CF92EC is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.2% C 0.141 H 314.3°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#CF92EC
RGBrgb(207, 146, 236)
HSLhsl(281, 70%, 75%)
HSVhsv(281, 38%, 93%)
CMYKcmyk(12.3%, 38.1%, 0%, 7.5%)
CIE-LABlab(69.38, 38.66, -36.47)
CIE-LCHlch(69.38, 53.14, 316.67°)
OKLaboklab(75.16% 0.0982 -0.1005)
OKLCHoklch(75.16% 0.141 314.3)
XYZxyz(51.1489, 39.8804, 84.3438)
Luminance0.3988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF92EC #AFEC92
analogous
#A292EC #CF92EC #EC92DC
triadic
#CF92EC #ECCF92 #92ECCF
tetradic
#CF92EC #ECA292 #AFEC92 #92DCEC
square
#CF92EC #ECA292 #AFEC92 #92DCEC
split-complementary
#CF92EC #DCEC92 #92ECA2
monochromatic
#A12ADA #B85EE3 #CF92EC #E6C6F5 #F4E5FA

Accessibility & contrast

On white

2.34
#CF92EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#CF92EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF92EC
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF92EC#FFFFFF#000000##000000
##CF92EC1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6EF
Deuteranopia (green-blind)
#92ABE9
Tritanopia (blue-blind)
#CD9EB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf92ec;
/* rgb */ color: rgb(207, 146, 236);
/* oklch */ color: oklch(75.2% 0.141 314.3);
Tailwind
colors: {
  custom: {
    50: '#dfb3f2',
    500: '#cf92ec',
    950: '#000000',
  },
}
SCSS
$custom: #cf92ec;
$custom-light: #dfb3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf92ec",
  "rgb": {
    "r": 207,
    "g": 146,
    "b": 236
  },
  "hsl": {
    "h": 280.667,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75163,
    "c": 0.14053,
    "h": 314.3
  },
  "luminance": 0.39879
}

Semantic roles & 50–950 ramp

primary
#CF92EC
secondary
#E1F2D9
accent
#D21351
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF92EC

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

Preview Lab → · Contrast checker → · Palette generator →

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