#CF92FC#CF92FC

#CF92FC is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.9% C 0.159 H 309.6°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#CF92FC
RGBrgb(207, 146, 252)
HSLhsl(275, 95%, 78%)
HSVhsv(275, 42%, 99%)
CMYKcmyk(17.9%, 42.1%, 0%, 1.2%)
CIE-LABlab(70.07, 42.03, -44.13)
CIE-LCHlch(70.07, 60.95, 313.60°)
OKLaboklab(75.91% 0.1013 -0.1226)
OKLCHoklch(75.91% 0.159 309.6)
XYZxyz(53.5784, 40.8522, 97.1393)
Luminance0.4085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF92FC #BFFC92
analogous
#9A92FC #CF92FC #FC92F4
triadic
#CF92FC #FCCF92 #92FCCF
tetradic
#CF92FC #FC9A92 #BFFC92 #92F4FC
square
#CF92FC #FC9A92 #BFFC92 #92F4FC
split-complementary
#CF92FC #F4FC92 #92FC9A
monochromatic
#9B1BF9 #B556FA #CF92FC #E9CEFE #F2E1FE

Accessibility & contrast

On white

2.29
#CF92FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#CF92FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF92FC
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF92FC#FFFFFF#000000##000000
##CF92FC1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FF
Deuteranopia (green-blind)
#8AACF9
Tritanopia (blue-blind)
#C9A2BB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cf92fc;
/* rgb */ color: rgb(207, 146, 252);
/* oklch */ color: oklch(75.9% 0.159 309.6);
Tailwind
colors: {
  custom: {
    50: '#dfb3fe',
    500: '#cf92fc',
    950: '#000000',
  },
}
SCSS
$custom: #cf92fc;
$custom-light: #dfb3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf92fc",
  "rgb": {
    "r": 207,
    "g": 146,
    "b": 252
  },
  "hsl": {
    "h": 274.528,
    "s": 94.643,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75907,
    "c": 0.15899,
    "h": 309.6
  },
  "luminance": 0.40851
}

Semantic roles & 50–950 ramp

primary
#CF92FC
secondary
#E3F6D5
accent
#E60061
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF92FC

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

Preview Lab → · Contrast checker → · Palette generator →

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