#CB92FE#CB92FE

#CB92FE is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.6% C 0.160 H 307.3°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#CB92FE
RGBrgb(203, 146, 254)
HSLhsl(272, 98%, 78%)
HSVhsv(272, 43%, 100%)
CMYKcmyk(20.1%, 42.5%, 0%, 0.4%)
CIE-LABlab(69.76, 41.35, -45.74)
CIE-LCHlch(69.76, 61.66, 312.11°)
OKLaboklab(75.61% 0.097 -0.1273)
OKLCHoklch(75.61% 0.16 307.3)
XYZxyz(52.7934, 40.4105, 98.7655)
Luminance0.4041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB92FE #C5FE92
analogous
#9592FE #CB92FE #FE92FB
triadic
#CB92FE #FECB92 #92FECB
tetradic
#CB92FE #FE9592 #C5FE92 #92FBFE
square
#CB92FE #FE9592 #C5FE92 #92FBFE
split-complementary
#CB92FE #FBFE92 #92FE95
monochromatic
#9119FD #AE55FD #CB92FE #E8CFFF #F1E1FF

Accessibility & contrast

On white

2.31
#CB92FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#CB92FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB92FE
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB92FE#FFFFFF#000000##000000
##CB92FE1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#87ABFB
Tritanopia (blue-blind)
#C4A3BC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb92fe;
/* rgb */ color: rgb(203, 146, 254);
/* oklch */ color: oklch(75.6% 0.160 307.3);
Tailwind
colors: {
  custom: {
    50: '#dcb3ff',
    500: '#cb92fe',
    950: '#000000',
  },
}
SCSS
$custom: #cb92fe;
$custom-light: #dcb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb92fe",
  "rgb": {
    "r": 203,
    "g": 146,
    "b": 254
  },
  "hsl": {
    "h": 271.667,
    "s": 98.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.7561,
    "c": 0.16002,
    "h": 307.3
  },
  "luminance": 0.4041
}

Semantic roles & 50–950 ramp

primary
#CB92FE
secondary
#E5F7D4
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB92FE

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

Preview Lab → · Contrast checker → · Palette generator →

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