#CB90EB#CB90EB

#CB90EB is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.4% C 0.141 H 313.0°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#CB90EB
RGBrgb(203, 144, 235)
HSLhsl(279, 69%, 74%)
HSVhsv(279, 39%, 92%)
CMYKcmyk(13.6%, 38.7%, 0%, 7.8%)
CIE-LABlab(68.49, 38.35, -37.34)
CIE-LCHlch(68.49, 53.52, 315.76°)
OKLaboklab(74.38% 0.0963 -0.1031)
OKLCHoklch(74.38% 0.141 313)
XYZxyz(49.5948, 38.6421, 83.4272)
Luminance0.3864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB90EB #B0EB90
analogous
#9E90EB #CB90EB #EB90DE
triadic
#CB90EB #EBCB90 #90EBCB
tetradic
#CB90EB #EB9E90 #B0EB90 #90DEEB
square
#CB90EB #EB9E90 #B0EB90 #90DEEB
split-complementary
#CB90EB #DEEB90 #90EB9E
monochromatic
#9A28D8 #B35CE2 #CB90EB #E3C4F4 #F3E5FA

Accessibility & contrast

On white

2.41
#CB90EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#CB90EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB90EB
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB90EB#FFFFFF#000000##000000
##CB90EB1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4EE
Deuteranopia (green-blind)
#8EA9E8
Tritanopia (blue-blind)
#C89DB3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb90eb;
/* rgb */ color: rgb(203, 144, 235);
/* oklch */ color: oklch(74.4% 0.141 313.0);
Tailwind
colors: {
  custom: {
    50: '#dcb1f1',
    500: '#cb90eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb90eb;
$custom-light: #dcb1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb90eb",
  "rgb": {
    "r": 203,
    "g": 144,
    "b": 235
  },
  "hsl": {
    "h": 278.901,
    "s": 69.466,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74382,
    "c": 0.14102,
    "h": 313
  },
  "luminance": 0.38641
}

Semantic roles & 50–950 ramp

primary
#CB90EB
secondary
#E2F2D9
accent
#D11457
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB90EB

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

Preview Lab → · Contrast checker → · Palette generator →

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