#CB93ED#CB93ED

#CB93ED is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.0% C 0.138 H 311.9°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CB93ED
RGBrgb(203, 147, 237)
HSLhsl(277, 71%, 75%)
HSVhsv(277, 38%, 93%)
CMYKcmyk(14.3%, 38%, 0%, 7.1%)
CIE-LABlab(69.24, 37.14, -37.27)
CIE-LCHlch(69.24, 52.61, 314.90°)
OKLaboklab(74.98% 0.0924 -0.1029)
OKLCHoklch(74.98% 0.138 311.9)
XYZxyz(50.3458, 39.6792, 85.1110)
Luminance0.3968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB93ED #B5ED93
analogous
#9E93ED #CB93ED #ED93E2
triadic
#CB93ED #EDCB93 #93EDCB
tetradic
#CB93ED #ED9E93 #B5ED93 #93E2ED
square
#CB93ED #ED9E93 #B5ED93 #93E2ED
split-complementary
#CB93ED #E2ED93 #93ED9E
monochromatic
#982ADC #B25FE4 #CB93ED #E4C7F6 #F2E5FB

Accessibility & contrast

On white

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

On black

8.94
#CB93ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB93ED
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB93ED#FFFFFF#000000##000000
##CB93ED1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6F0
Deuteranopia (green-blind)
#90AAEA
Tritanopia (blue-blind)
#C8A0B5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb93ed;
/* rgb */ color: rgb(203, 147, 237);
/* oklch */ color: oklch(75.0% 0.138 311.9);
Tailwind
colors: {
  custom: {
    50: '#dcb3f3',
    500: '#cb93ed',
    950: '#000000',
  },
}
SCSS
$custom: #cb93ed;
$custom-light: #dcb3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb93ed",
  "rgb": {
    "r": 203,
    "g": 147,
    "b": 237
  },
  "hsl": {
    "h": 277.333,
    "s": 71.429,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74975,
    "c": 0.13828,
    "h": 311.9
  },
  "luminance": 0.39678
}

Semantic roles & 50–950 ramp

primary
#CB93ED
secondary
#E2F2D9
accent
#D3125B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB93ED

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

Preview Lab → · Contrast checker → · Palette generator →

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