#CD93EB#CD93EB

#CD93EB is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.1% C 0.137 H 313.6°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#CD93EB
RGBrgb(205, 147, 235)
HSLhsl(280, 69%, 75%)
HSVhsv(280, 37%, 92%)
CMYKcmyk(12.8%, 37.4%, 0%, 7.8%)
CIE-LABlab(69.36, 37.32, -35.97)
CIE-LCHlch(69.36, 51.83, 316.05°)
OKLaboklab(75.08% 0.0943 -0.0991)
OKLCHoklch(75.08% 0.137 313.6)
XYZxyz(50.6035, 39.8457, 83.6064)
Luminance0.3985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93EB #B1EB93
analogous
#A193EB #CD93EB #EB93DD
triadic
#CD93EB #EBCD93 #93EBCD
tetradic
#CD93EB #EBA193 #B1EB93 #93DDEB
square
#CD93EB #EBA193 #B1EB93 #93DDEB
split-complementary
#CD93EB #DDEB93 #93EBA1
monochromatic
#9D2CD8 #B55FE1 #CD93EB #E5C7F5 #F3E5FA

Accessibility & contrast

On white

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

On black

8.97
#CD93EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93EB
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93EB#FFFFFF#000000##000000
##CD93EB1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6EE
Deuteranopia (green-blind)
#92ABE8
Tritanopia (blue-blind)
#CB9FB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd93eb;
/* rgb */ color: rgb(205, 147, 235);
/* oklch */ color: oklch(75.1% 0.137 313.6);
Tailwind
colors: {
  custom: {
    50: '#ddb3f1',
    500: '#cd93eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd93eb;
$custom-light: #ddb3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93eb",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 235
  },
  "hsl": {
    "h": 279.545,
    "s": 68.75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75084,
    "c": 0.1368,
    "h": 313.6
  },
  "luminance": 0.39845
}

Semantic roles & 50–950 ramp

primary
#CD93EB
secondary
#E2F2D9
accent
#D11555
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD93EB

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

Preview Lab → · Contrast checker → · Palette generator →

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