#CB90EE#CB90EE

#CB90EE is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.5% C 0.144 H 312.1°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#CB90EE
RGBrgb(203, 144, 238)
HSLhsl(278, 73%, 75%)
HSVhsv(278, 39%, 93%)
CMYKcmyk(14.7%, 39.5%, 0%, 6.7%)
CIE-LABlab(68.62, 38.98, -38.79)
CIE-LCHlch(68.62, 54.99, 315.14°)
OKLaboklab(74.52% 0.0969 -0.1072)
OKLCHoklch(74.52% 0.144 312.1)
XYZxyz(50.0318, 38.8170, 85.7291)
Luminance0.3882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB90EE #B3EE90
analogous
#9C90EE #CB90EE #EE90E2
triadic
#CB90EE #EECB90 #90EECB
tetradic
#CB90EE #EE9C90 #B3EE90 #90E2EE
square
#CB90EE #EE9C90 #B3EE90 #90E2EE
split-complementary
#CB90EE #E2EE90 #90EE9C
monochromatic
#9926DE #B25BE6 #CB90EE #E4C5F6 #F3E4FB

Accessibility & contrast

On white

2.40
#CB90EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#CB90EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB90EE
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB90EE#FFFFFF#000000##000000
##CB90EE1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA4F1
Deuteranopia (green-blind)
#8DA9EB
Tritanopia (blue-blind)
#C89DB4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb90ee;
/* rgb */ color: rgb(203, 144, 238);
/* oklch */ color: oklch(74.5% 0.144 312.1);
Tailwind
colors: {
  custom: {
    50: '#dcb1f4',
    500: '#cb90ee',
    950: '#000000',
  },
}
SCSS
$custom: #cb90ee;
$custom-light: #dcb1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb90ee",
  "rgb": {
    "r": 203,
    "g": 144,
    "b": 238
  },
  "hsl": {
    "h": 277.66,
    "s": 73.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74519,
    "c": 0.14449,
    "h": 312.1
  },
  "luminance": 0.38816
}

Semantic roles & 50–950 ramp

primary
#CB90EE
secondary
#E2F3D8
accent
#D6105A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB90EE

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

Preview Lab → · Contrast checker → · Palette generator →

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