#CD93EF#CD93EF

#CD93EF is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.3% C 0.141 H 312.3°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#CD93EF
RGBrgb(205, 147, 239)
HSLhsl(278, 74%, 76%)
HSVhsv(278, 38%, 94%)
CMYKcmyk(14.2%, 38.5%, 0%, 6.3%)
CIE-LABlab(69.53, 38.15, -37.90)
CIE-LCHlch(69.53, 53.78, 315.19°)
OKLaboklab(75.27% 0.0951 -0.1047)
OKLCHoklch(75.27% 0.141 312.3)
XYZxyz(51.1879, 40.0795, 86.6842)
Luminance0.4008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93EF #B5EF93
analogous
#9F93EF #CD93EF #EF93E3
triadic
#CD93EF #EFCD93 #93EFCD
tetradic
#CD93EF #EF9F93 #B5EF93 #93E3EF
square
#CD93EF #EF9F93 #B5EF93 #93E3EF
split-complementary
#CD93EF #E3EF93 #93EF9F
monochromatic
#9C28DF #B45EE7 #CD93EF #E6C8F7 #F3E4FB

Accessibility & contrast

On white

2.33
#CD93EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#CD93EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93EF
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93EF#FFFFFF#000000##000000
##CD93EF1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A7F2
Deuteranopia (green-blind)
#90ABEC
Tritanopia (blue-blind)
#CAA0B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd93ef;
/* rgb */ color: rgb(205, 147, 239);
/* oklch */ color: oklch(75.3% 0.141 312.3);
Tailwind
colors: {
  custom: {
    50: '#ddb3f4',
    500: '#cd93ef',
    950: '#000000',
  },
}
SCSS
$custom: #cd93ef;
$custom-light: #ddb3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93ef",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 239
  },
  "hsl": {
    "h": 277.826,
    "s": 74.194,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75265,
    "c": 0.14143,
    "h": 312.3
  },
  "luminance": 0.40079
}

Semantic roles & 50–950 ramp

primary
#CD93EF
secondary
#E2F3D8
accent
#D60F59
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD93EF

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

Preview Lab → · Contrast checker → · Palette generator →

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