#CD93FE#CD93FE

#CD93FE is a light, vivid violet. Relative luminance 0.410; OKLCH L 76.0% C 0.159 H 308.0°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#CD93FE
RGBrgb(205, 147, 254)
HSLhsl(273, 98%, 79%)
HSVhsv(273, 42%, 100%)
CMYKcmyk(19.3%, 42.1%, 0%, 0.4%)
CIE-LABlab(70.18, 41.37, -45.07)
CIE-LCHlch(70.18, 61.18, 312.55°)
OKLaboklab(75.97% 0.0979 -0.1253)
OKLCHoklch(75.97% 0.159 308)
XYZxyz(53.4965, 41.0029, 98.8428)
Luminance0.4100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93FE #C4FE93
analogous
#9793FE #CD93FE #FE93FA
triadic
#CD93FE #FECD93 #93FECD
tetradic
#CD93FE #FE9793 #C4FE93 #93FAFE
square
#CD93FE #FE9793 #C4FE93 #93FAFE
split-complementary
#CD93FE #FAFE93 #93FE97
monochromatic
#951AFD #B156FD #CD93FE #E9D0FF #F1E1FF

Accessibility & contrast

On white

2.28
#CD93FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#CD93FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93FE
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93FE#FFFFFF#000000##000000
##CD93FE1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#89ACFB
Tritanopia (blue-blind)
#C6A4BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd93fe;
/* rgb */ color: rgb(205, 147, 254);
/* oklch */ color: oklch(76.0% 0.159 308.0);
Tailwind
colors: {
  custom: {
    50: '#deb3ff',
    500: '#cd93fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd93fe;
$custom-light: #deb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93fe",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 254
  },
  "hsl": {
    "h": 272.523,
    "s": 98.165,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75969,
    "c": 0.15903,
    "h": 308
  },
  "luminance": 0.41002
}

Semantic roles & 50–950 ramp

primary
#CD93FE
secondary
#E4F7D4
accent
#E60069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD93FE

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

Preview Lab → · Contrast checker → · Palette generator →

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