#CB92EC#CB92EC

#CB92EC is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.8% C 0.139 H 312.4°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#CB92EC
RGBrgb(203, 146, 236)
HSLhsl(278, 70%, 75%)
HSVhsv(278, 38%, 93%)
CMYKcmyk(14%, 38.1%, 0%, 7.5%)
CIE-LABlab(68.98, 37.47, -37.13)
CIE-LCHlch(68.98, 52.75, 315.26°)
OKLaboklab(74.76% 0.0936 -0.1025)
OKLCHoklch(74.76% 0.139 312.4)
XYZxyz(50.0452, 39.3113, 84.2921)
Luminance0.3931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB92EC #B3EC92
analogous
#9E92EC #CB92EC #EC92E0
triadic
#CB92EC #ECCB92 #92ECCB
tetradic
#CB92EC #EC9E92 #B3EC92 #92E0EC
square
#CB92EC #EC9E92 #B3EC92 #92E0EC
split-complementary
#CB92EC #E0EC92 #92EC9E
monochromatic
#992ADA #B25EE3 #CB92EC #E4C6F5 #F3E5FA

Accessibility & contrast

On white

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

On black

8.86
#CB92EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB92EC
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB92EC#FFFFFF#000000##000000
##CB92EC1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5EF
Deuteranopia (green-blind)
#8FAAE9
Tritanopia (blue-blind)
#C89FB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb92ec;
/* rgb */ color: rgb(203, 146, 236);
/* oklch */ color: oklch(74.8% 0.139 312.4);
Tailwind
colors: {
  custom: {
    50: '#dcb3f2',
    500: '#cb92ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb92ec;
$custom-light: #dcb3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb92ec",
  "rgb": {
    "r": 203,
    "g": 146,
    "b": 236
  },
  "hsl": {
    "h": 278,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74762,
    "c": 0.1388,
    "h": 312.4
  },
  "luminance": 0.3931
}

Semantic roles & 50–950 ramp

primary
#CB92EC
secondary
#E2F2D9
accent
#D21359
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB92EC

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

Preview Lab → · Contrast checker → · Palette generator →

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