#CB93EC#CB93EC

#CB93EC is a light, vivid violet. Relative luminance 0.396; OKLCH L 74.9% C 0.137 H 312.2°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#CB93EC
RGBrgb(203, 147, 236)
HSLhsl(278, 70%, 75%)
HSVhsv(278, 38%, 93%)
CMYKcmyk(14%, 37.7%, 0%, 7.5%)
CIE-LABlab(69.20, 36.93, -36.79)
CIE-LCHlch(69.20, 52.12, 315.11°)
OKLaboklab(74.93% 0.0922 -0.1015)
OKLCHoklch(74.93% 0.137 312.2)
XYZxyz(50.2001, 39.6209, 84.3437)
Luminance0.3962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB93EC #B4EC93
analogous
#9F93EC #CB93EC #EC93E0
triadic
#CB93EC #ECCB93 #93ECCB
tetradic
#CB93EC #EC9F93 #B4EC93 #93E0EC
square
#CB93EC #EC9F93 #B4EC93 #93E0EC
split-complementary
#CB93EC #E0EC93 #93EC9F
monochromatic
#992BDA #B25FE3 #CB93EC #E4C7F5 #F2E5FA

Accessibility & contrast

On white

2.35
#CB93EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#CB93EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB93EC
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB93EC#FFFFFF#000000##000000
##CB93EC1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6EF
Deuteranopia (green-blind)
#90AAE9
Tritanopia (blue-blind)
#C89FB5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb93ec;
/* rgb */ color: rgb(203, 147, 236);
/* oklch */ color: oklch(74.9% 0.137 312.2);
Tailwind
colors: {
  custom: {
    50: '#dcb3f2',
    500: '#cb93ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb93ec;
$custom-light: #dcb3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb93ec",
  "rgb": {
    "r": 203,
    "g": 147,
    "b": 236
  },
  "hsl": {
    "h": 277.753,
    "s": 70.079,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7493,
    "c": 0.13711,
    "h": 312.2
  },
  "luminance": 0.3962
}

Semantic roles & 50–950 ramp

primary
#CB93EC
secondary
#E2F2D9
accent
#D2135A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB93EC

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

Preview Lab → · Contrast checker → · Palette generator →

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