#CB93EA#CB93EA

#CB93EA is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.8% C 0.135 H 312.9°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CB93EA
RGBrgb(203, 147, 234)
HSLhsl(279, 67%, 75%)
HSVhsv(279, 37%, 92%)
CMYKcmyk(13.2%, 37.2%, 0%, 8.2%)
CIE-LABlab(69.12, 36.51, -35.82)
CIE-LCHlch(69.12, 51.14, 315.55°)
OKLaboklab(74.84% 0.0918 -0.0987)
OKLCHoklch(74.84% 0.135 312.9)
XYZxyz(49.9111, 39.5054, 82.8220)
Luminance0.3950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB93EA #B2EA93
analogous
#A093EA #CB93EA #EA93DD
triadic
#CB93EA #EACB93 #93EACB
tetradic
#CB93EA #EAA093 #B2EA93 #93DDEA
square
#CB93EA #EAA093 #B2EA93 #93DDEA
split-complementary
#CB93EA #DDEA93 #93EAA0
monochromatic
#9A2DD6 #B260E0 #CB93EA #E4C6F4 #F3E5FA

Accessibility & contrast

On white

2.36
#CB93EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#CB93EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB93EA
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB93EA#FFFFFF#000000##000000
##CB93EA1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6ED
Deuteranopia (green-blind)
#91AAE7
Tritanopia (blue-blind)
#C89FB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb93ea;
/* rgb */ color: rgb(203, 147, 234);
/* oklch */ color: oklch(74.8% 0.135 312.9);
Tailwind
colors: {
  custom: {
    50: '#dcb3f1',
    500: '#cb93ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb93ea;
$custom-light: #dcb3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb93ea",
  "rgb": {
    "r": 203,
    "g": 147,
    "b": 234
  },
  "hsl": {
    "h": 278.621,
    "s": 67.442,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7484,
    "c": 0.13477,
    "h": 312.9
  },
  "luminance": 0.39504
}

Semantic roles & 50–950 ramp

primary
#CB93EA
secondary
#E2F2D9
accent
#CF1658
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB93EA

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

Preview Lab → · Contrast checker → · Palette generator →

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