#CB92EB#CB92EB

#CB92EB is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.7% C 0.138 H 312.7°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CB92EB
RGBrgb(203, 146, 235)
HSLhsl(278, 69%, 75%)
HSVhsv(278, 38%, 92%)
CMYKcmyk(13.6%, 37.9%, 0%, 7.8%)
CIE-LABlab(68.93, 37.26, -36.65)
CIE-LCHlch(68.93, 52.26, 315.48°)
OKLaboklab(74.72% 0.0934 -0.1011)
OKLCHoklch(74.72% 0.138 312.7)
XYZxyz(49.9004, 39.2533, 83.5291)
Luminance0.3925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB92EB #B2EB92
analogous
#9F92EB #CB92EB #EB92DE
triadic
#CB92EB #EBCB92 #92EBCB
tetradic
#CB92EB #EB9F92 #B2EB92 #92DEEB
square
#CB92EB #EB9F92 #B2EB92 #92DEEB
split-complementary
#CB92EB #DEEB92 #92EB9F
monochromatic
#9A2BD8 #B25EE2 #CB92EB #E4C6F4 #F3E5FA

Accessibility & contrast

On white

2.37
#CB92EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#CB92EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB92EB
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB92EB#FFFFFF#000000##000000
##CB92EB1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5EE
Deuteranopia (green-blind)
#90AAE8
Tritanopia (blue-blind)
#C89EB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb92eb;
/* rgb */ color: rgb(203, 146, 235);
/* oklch */ color: oklch(74.7% 0.138 312.7);
Tailwind
colors: {
  custom: {
    50: '#dcb3f1',
    500: '#cb92eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb92eb;
$custom-light: #dcb3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb92eb",
  "rgb": {
    "r": 203,
    "g": 146,
    "b": 235
  },
  "hsl": {
    "h": 278.427,
    "s": 68.992,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74716,
    "c": 0.13764,
    "h": 312.7
  },
  "luminance": 0.39252
}

Semantic roles & 50–950 ramp

primary
#CB92EB
secondary
#E2F2D9
accent
#D11558
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB92EB

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

Preview Lab → · Contrast checker → · Palette generator →

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