#CD93FF#CD93FF

#CD93FF is a light, vivid violet. Relative luminance 0.411; OKLCH L 76.0% C 0.160 H 307.8°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#CD93FF
RGBrgb(205, 147, 255)
HSLhsl(272, 100%, 79%)
HSVhsv(272, 42%, 100%)
CMYKcmyk(19.6%, 42.4%, 0%, 0%)
CIE-LABlab(70.22, 41.59, -45.54)
CIE-LCHlch(70.22, 61.67, 312.40°)
OKLaboklab(76.02% 0.0981 -0.1267)
OKLCHoklch(76.02% 0.16 307.8)
XYZxyz(53.6571, 41.0671, 99.6884)
Luminance0.4107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93FF #C5FF93
analogous
#9793FF #CD93FF #FF93FB
triadic
#CD93FF #FFCD93 #93FFCD
tetradic
#CD93FF #FF9793 #C5FF93 #93FBFF
square
#CD93FF #FF9793 #C5FF93 #93FBFF
split-complementary
#CD93FF #FBFF93 #93FF97
monochromatic
#9419FF #B156FF #CD93FF #E9D0FF #F1E0FF

Accessibility & contrast

On white

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

On black

9.21
#CD93FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93FF
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93FF#FFFFFF#000000##000000
##CD93FF1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#88ACFC
Tritanopia (blue-blind)
#C6A4BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd93ff;
/* rgb */ color: rgb(205, 147, 255);
/* oklch */ color: oklch(76.0% 0.160 307.8);
Tailwind
colors: {
  custom: {
    50: '#deb3ff',
    500: '#cd93ff',
    950: '#000000',
  },
}
SCSS
$custom: #cd93ff;
$custom-light: #deb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93ff",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 255
  },
  "hsl": {
    "h": 272.222,
    "s": 100,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76018,
    "c": 0.16022,
    "h": 307.8
  },
  "luminance": 0.41067
}

Semantic roles & 50–950 ramp

primary
#CD93FF
secondary
#E4F7D4
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD93FF

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

Preview Lab → · Contrast checker → · Palette generator →

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