#CD93FC#CD93FC

#CD93FC is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.9% C 0.157 H 308.5°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#CD93FC
RGBrgb(205, 147, 252)
HSLhsl(273, 95%, 78%)
HSVhsv(273, 42%, 99%)
CMYKcmyk(18.7%, 41.7%, 0%, 1.2%)
CIE-LABlab(70.09, 40.93, -44.12)
CIE-LCHlch(70.09, 60.19, 312.85°)
OKLaboklab(75.87% 0.0976 -0.1226)
OKLCHoklch(75.87% 0.157 308.5)
XYZxyz(53.1779, 40.8755, 97.1649)
Luminance0.4088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93FC #C2FC93
analogous
#9893FC #CD93FC #FC93F6
triadic
#CD93FC #FCCD93 #93FCCD
tetradic
#CD93FC #FC9893 #C2FC93 #93F6FC
square
#CD93FC #FC9893 #C2FC93 #93F6FC
split-complementary
#CD93FC #F6FC93 #93FC98
monochromatic
#961CF9 #B157FA #CD93FC #E9CFFE #F1E1FE

Accessibility & contrast

On white

2.29
#CD93FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#CD93FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93FC
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93FC#FFFFFF#000000##000000
##CD93FC1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#8AACF9
Tritanopia (blue-blind)
#C7A3BC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd93fc;
/* rgb */ color: rgb(205, 147, 252);
/* oklch */ color: oklch(75.9% 0.157 308.5);
Tailwind
colors: {
  custom: {
    50: '#deb3fe',
    500: '#cd93fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd93fc;
$custom-light: #deb3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93fc",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 252
  },
  "hsl": {
    "h": 273.143,
    "s": 94.595,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75873,
    "c": 0.15667,
    "h": 308.5
  },
  "luminance": 0.40875
}

Semantic roles & 50–950 ramp

primary
#CD93FC
secondary
#E4F6D5
accent
#E60067
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD93FC

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

Preview Lab → · Contrast checker → · Palette generator →

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