#CB90ED#CB90ED

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

Color values

HEX#CB90ED
RGBrgb(203, 144, 237)
HSLhsl(278, 72%, 75%)
HSVhsv(278, 39%, 93%)
CMYKcmyk(14.3%, 39.2%, 0%, 7.1%)
CIE-LABlab(68.58, 38.77, -38.30)
CIE-LCHlch(68.58, 54.50, 315.34°)
OKLaboklab(74.47% 0.0967 -0.1058)
OKLCHoklch(74.47% 0.143 312.4)
XYZxyz(49.8853, 38.7584, 84.9575)
Luminance0.3876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB90ED #B2ED90
analogous
#9D90ED #CB90ED #ED90E0
triadic
#CB90ED #EDCB90 #90EDCB
tetradic
#CB90ED #ED9D90 #B2ED90 #90E0ED
square
#CB90ED #ED9D90 #B2ED90 #90E0ED
split-complementary
#CB90ED #E0ED90 #90ED9D
monochromatic
#9A27DC #B25BE4 #CB90ED #E4C5F6 #F3E5FB

Accessibility & contrast

On white

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

On black

8.75
#CB90ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB90ED
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB90ED#FFFFFF#000000##000000
##CB90ED1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA4F0
Deuteranopia (green-blind)
#8DA9EA
Tritanopia (blue-blind)
#C89DB3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb90ed;
/* rgb */ color: rgb(203, 144, 237);
/* oklch */ color: oklch(74.5% 0.143 312.4);
Tailwind
colors: {
  custom: {
    50: '#dcb1f3',
    500: '#cb90ed',
    950: '#000000',
  },
}
SCSS
$custom: #cb90ed;
$custom-light: #dcb1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb90ed",
  "rgb": {
    "r": 203,
    "g": 144,
    "b": 237
  },
  "hsl": {
    "h": 278.065,
    "s": 72.093,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74473,
    "c": 0.14334,
    "h": 312.4
  },
  "luminance": 0.38757
}

Semantic roles & 50–950 ramp

primary
#CB90ED
secondary
#E2F2D9
accent
#D41159
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB90ED

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

Preview Lab → · Contrast checker → · Palette generator →

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