#CF92FE#CF92FE

#CF92FE is a light, vivid violet. Relative luminance 0.410; OKLCH L 76.0% C 0.161 H 309.0°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#CF92FE
RGBrgb(207, 146, 254)
HSLhsl(274, 98%, 78%)
HSVhsv(274, 43%, 100%)
CMYKcmyk(18.5%, 42.5%, 0%, 0.4%)
CIE-LABlab(70.16, 42.47, -45.08)
CIE-LCHlch(70.16, 61.93, 313.29°)
OKLaboklab(76% 0.1016 -0.1253)
OKLCHoklch(76% 0.161 309)
XYZxyz(53.8970, 40.9796, 98.8173)
Luminance0.4098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF92FE #C1FE92
analogous
#9992FE #CF92FE #FE92F7
triadic
#CF92FE #FECF92 #92FECF
tetradic
#CF92FE #FE9992 #C1FE92 #92F7FE
square
#CF92FE #FE9992 #C1FE92 #92F7FE
split-complementary
#CF92FE #F7FE92 #92FE99
monochromatic
#9A19FD #B455FD #CF92FE #EACFFF #F2E1FF

Accessibility & contrast

On white

2.28
#CF92FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#CF92FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF92FE
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF92FE#FFFFFF#000000##000000
##CF92FE1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#89ACFB
Tritanopia (blue-blind)
#C9A3BC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cf92fe;
/* rgb */ color: rgb(207, 146, 254);
/* oklch */ color: oklch(76.0% 0.161 309.0);
Tailwind
colors: {
  custom: {
    50: '#dfb3ff',
    500: '#cf92fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf92fe;
$custom-light: #dfb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf92fe",
  "rgb": {
    "r": 207,
    "g": 146,
    "b": 254
  },
  "hsl": {
    "h": 273.889,
    "s": 98.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76003,
    "c": 0.16132,
    "h": 309
  },
  "luminance": 0.40979
}

Semantic roles & 50–950 ramp

primary
#CF92FE
secondary
#E3F7D4
accent
#E60064
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF92FE

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

Preview Lab → · Contrast checker → · Palette generator →

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