#CF92EF#CF92EF

#CF92EF is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.3% C 0.144 H 313.4°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#CF92EF
RGBrgb(207, 146, 239)
HSLhsl(279, 74%, 75%)
HSVhsv(279, 39%, 94%)
CMYKcmyk(13.4%, 38.9%, 0%, 6.3%)
CIE-LABlab(69.51, 39.28, -37.91)
CIE-LCHlch(69.51, 54.59, 316.01°)
OKLaboklab(75.3% 0.0988 -0.1047)
OKLCHoklch(75.3% 0.144 313.4)
XYZxyz(51.5884, 40.0562, 86.6586)
Luminance0.4006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF92EF #B2EF92
analogous
#A092EF #CF92EF #EF92E0
triadic
#CF92EF #EFCF92 #92EFCF
tetradic
#CF92EF #EFA092 #B2EF92 #92E0EF
square
#CF92EF #EFA092 #B2EF92 #92E0EF
split-complementary
#CF92EF #E0EF92 #92EFA0
monochromatic
#A027DF #B75DE7 #CF92EF #E7C7F7 #F3E4FB

Accessibility & contrast

On white

2.33
#CF92EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#CF92EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF92EF
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF92EF#FFFFFF#000000##000000
##CF92EF1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F2
Deuteranopia (green-blind)
#90ABEC
Tritanopia (blue-blind)
#CC9FB5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf92ef;
/* rgb */ color: rgb(207, 146, 239);
/* oklch */ color: oklch(75.3% 0.144 313.4);
Tailwind
colors: {
  custom: {
    50: '#dfb3f4',
    500: '#cf92ef',
    950: '#000000',
  },
}
SCSS
$custom: #cf92ef;
$custom-light: #dfb3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf92ef",
  "rgb": {
    "r": 207,
    "g": 146,
    "b": 239
  },
  "hsl": {
    "h": 279.355,
    "s": 74.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75298,
    "c": 0.14396,
    "h": 313.4
  },
  "luminance": 0.40055
}

Semantic roles & 50–950 ramp

primary
#CF92EF
secondary
#E1F3D8
accent
#D70F54
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF92EF

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

Preview Lab → · Contrast checker → · Palette generator →

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