#CB92ED#CB92ED

#CB92ED is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.8% C 0.140 H 312.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#CB92ED
RGBrgb(203, 146, 237)
HSLhsl(278, 72%, 75%)
HSVhsv(278, 38%, 93%)
CMYKcmyk(14.3%, 38.4%, 0%, 7.1%)
CIE-LABlab(69.02, 37.68, -37.61)
CIE-LCHlch(69.02, 53.24, 315.05°)
OKLaboklab(74.81% 0.0938 -0.1039)
OKLCHoklch(74.81% 0.14 312.1)
XYZxyz(50.1909, 39.3696, 85.0594)
Luminance0.3937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB92ED #B4ED92
analogous
#9D92ED #CB92ED #ED92E2
triadic
#CB92ED #EDCB92 #92EDCB
tetradic
#CB92ED #ED9D92 #B4ED92 #92E2ED
square
#CB92ED #ED9D92 #B4ED92 #92E2ED
split-complementary
#CB92ED #E2ED92 #92ED9D
monochromatic
#9929DC #B25DE4 #CB92ED #E4C7F6 #F2E5FB

Accessibility & contrast

On white

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

On black

8.87
#CB92ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB92ED
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB92ED#FFFFFF#000000##000000
##CB92ED1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5F0
Deuteranopia (green-blind)
#8FAAEA
Tritanopia (blue-blind)
#C89FB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb92ed;
/* rgb */ color: rgb(203, 146, 237);
/* oklch */ color: oklch(74.8% 0.140 312.1);
Tailwind
colors: {
  custom: {
    50: '#dcb3f3',
    500: '#cb92ed',
    950: '#000000',
  },
}
SCSS
$custom: #cb92ed;
$custom-light: #dcb3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb92ed",
  "rgb": {
    "r": 203,
    "g": 146,
    "b": 237
  },
  "hsl": {
    "h": 277.582,
    "s": 71.654,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74807,
    "c": 0.13996,
    "h": 312.1
  },
  "luminance": 0.39369
}

Semantic roles & 50–950 ramp

primary
#CB92ED
secondary
#E2F2D9
accent
#D4125A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB92ED

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

Preview Lab → · Contrast checker → · Palette generator →

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