#CD93EC#CD93EC

#CD93EC is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.1% C 0.138 H 313.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#CD93EC
RGBrgb(205, 147, 236)
HSLhsl(279, 70%, 75%)
HSVhsv(279, 38%, 93%)
CMYKcmyk(13.1%, 37.7%, 0%, 7.5%)
CIE-LABlab(69.40, 37.52, -36.46)
CIE-LCHlch(69.40, 52.32, 315.83°)
OKLaboklab(75.13% 0.0945 -0.1005)
OKLCHoklch(75.13% 0.138 313.2)
XYZxyz(50.7484, 39.9037, 84.3694)
Luminance0.3990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93EC #B2EC93
analogous
#A093EC #CD93EC #EC93DF
triadic
#CD93EC #ECCD93 #93ECCD
tetradic
#CD93EC #ECA093 #B2EC93 #93DFEC
square
#CD93EC #ECA093 #B2EC93 #93DFEC
split-complementary
#CD93EC #DFEC93 #93ECA0
monochromatic
#9D2BDA #B55FE3 #CD93EC #E5C7F5 #F3E5FA

Accessibility & contrast

On white

2.34
#CD93EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#CD93EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93EC
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93EC#FFFFFF#000000##000000
##CD93EC1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6EF
Deuteranopia (green-blind)
#91ABE9
Tritanopia (blue-blind)
#CB9FB5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd93ec;
/* rgb */ color: rgb(205, 147, 236);
/* oklch */ color: oklch(75.1% 0.138 313.2);
Tailwind
colors: {
  custom: {
    50: '#ddb3f2',
    500: '#cd93ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd93ec;
$custom-light: #ddb3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93ec",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 236
  },
  "hsl": {
    "h": 279.101,
    "s": 70.079,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75129,
    "c": 0.13796,
    "h": 313.2
  },
  "luminance": 0.39903
}

Semantic roles & 50–950 ramp

primary
#CD93EC
secondary
#E2F2D9
accent
#D21356
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD93EC

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

Preview Lab → · Contrast checker → · Palette generator →

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