#CB90EC#CB90EC

#CB90EC is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.4% C 0.142 H 312.7°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#CB90EC
RGBrgb(203, 144, 236)
HSLhsl(278, 71%, 75%)
HSVhsv(278, 39%, 93%)
CMYKcmyk(14%, 39%, 0%, 7.5%)
CIE-LABlab(68.53, 38.56, -37.82)
CIE-LCHlch(68.53, 54.01, 315.55°)
OKLaboklab(74.43% 0.0965 -0.1044)
OKLCHoklch(74.43% 0.142 312.7)
XYZxyz(49.7396, 38.7001, 84.1902)
Luminance0.3870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB90EC #B1EC90
analogous
#9D90EC #CB90EC #EC90DF
triadic
#CB90EC #ECCB90 #90ECCB
tetradic
#CB90EC #EC9D90 #B1EC90 #90DFEC
square
#CB90EC #EC9D90 #B1EC90 #90DFEC
split-complementary
#CB90EC #DFEC90 #90EC9D
monochromatic
#9A27DA #B35CE3 #CB90EC #E3C4F5 #F3E5FB

Accessibility & contrast

On white

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

On black

8.74
#CB90EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB90EC
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB90EC#FFFFFF#000000##000000
##CB90EC1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb90ec;
/* rgb */ color: rgb(203, 144, 236);
/* oklch */ color: oklch(74.4% 0.142 312.7);
Tailwind
colors: {
  custom: {
    50: '#dcb1f2',
    500: '#cb90ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb90ec;
$custom-light: #dcb1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb90ec",
  "rgb": {
    "r": 203,
    "g": 144,
    "b": 236
  },
  "hsl": {
    "h": 278.478,
    "s": 70.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74427,
    "c": 0.14218,
    "h": 312.7
  },
  "luminance": 0.38699
}

Semantic roles & 50–950 ramp

primary
#CB90EC
secondary
#E2F2D9
accent
#D31358
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB90EC

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

Preview Lab → · Contrast checker → · Palette generator →

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