#CD93ED#CD93ED

#CD93ED is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.2% C 0.139 H 312.9°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#CD93ED
RGBrgb(205, 147, 237)
HSLhsl(279, 71%, 75%)
HSVhsv(279, 38%, 93%)
CMYKcmyk(13.5%, 38%, 0%, 7.1%)
CIE-LABlab(69.44, 37.73, -36.94)
CIE-LCHlch(69.44, 52.80, 315.61°)
OKLaboklab(75.17% 0.0947 -0.1019)
OKLCHoklch(75.17% 0.139 312.9)
XYZxyz(50.8941, 39.9619, 85.1367)
Luminance0.3996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93ED #B3ED93
analogous
#A093ED #CD93ED #ED93E0
triadic
#CD93ED #EDCD93 #93EDCD
tetradic
#CD93ED #EDA093 #B3ED93 #93E0ED
square
#CD93ED #EDA093 #B3ED93 #93E0ED
split-complementary
#CD93ED #E0ED93 #93EDA0
monochromatic
#9C2ADC #B55FE4 #CD93ED #E5C7F6 #F3E5FB

Accessibility & contrast

On white

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

On black

8.99
#CD93ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93ED
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93ED#FFFFFF#000000##000000
##CD93ED1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6F0
Deuteranopia (green-blind)
#91ABEA
Tritanopia (blue-blind)
#CA9FB5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd93ed;
/* rgb */ color: rgb(205, 147, 237);
/* oklch */ color: oklch(75.2% 0.139 312.9);
Tailwind
colors: {
  custom: {
    50: '#ddb3f3',
    500: '#cd93ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd93ed;
$custom-light: #ddb3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93ed",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 237
  },
  "hsl": {
    "h": 278.667,
    "s": 71.429,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75174,
    "c": 0.13911,
    "h": 312.9
  },
  "luminance": 0.39961
}

Semantic roles & 50–950 ramp

primary
#CD93ED
secondary
#E2F2D9
accent
#D31257
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD93ED

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

Preview Lab → · Contrast checker → · Palette generator →

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