#CD93FB#CD93FB

#CD93FB is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.8% C 0.155 H 308.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#CD93FB
RGBrgb(205, 147, 251)
HSLhsl(273, 93%, 78%)
HSVhsv(273, 41%, 98%)
CMYKcmyk(18.3%, 41.4%, 0%, 1.6%)
CIE-LABlab(70.04, 40.71, -43.65)
CIE-LCHlch(70.04, 59.69, 313.01°)
OKLaboklab(75.83% 0.0974 -0.1212)
OKLCHoklch(75.83% 0.155 308.8)
XYZxyz(53.0199, 40.8123, 96.3325)
Luminance0.4081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93FB #C1FB93
analogous
#9993FB #CD93FB #FB93F5
triadic
#CD93FB #FBCD93 #93FBCD
tetradic
#CD93FB #FB9993 #C1FB93 #93F5FB
square
#CD93FB #FB9993 #C1FB93 #93F5FB
split-complementary
#CD93FB #F5FB93 #93FB99
monochromatic
#961DF7 #B258F9 #CD93FB #E8CEFD #F1E1FE

Accessibility & contrast

On white

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

On black

9.16
#CD93FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93FB
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93FB#FFFFFF#000000##000000
##CD93FB1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd93fb;
/* rgb */ color: rgb(205, 147, 251);
/* oklch */ color: oklch(75.8% 0.155 308.8);
Tailwind
colors: {
  custom: {
    50: '#deb3fd',
    500: '#cd93fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd93fb;
$custom-light: #deb3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93fb",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 251
  },
  "hsl": {
    "h": 273.462,
    "s": 92.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75825,
    "c": 0.15549,
    "h": 308.8
  },
  "luminance": 0.40812
}

Semantic roles & 50–950 ramp

primary
#CD93FB
secondary
#E4F6D5
accent
#E60066
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD93FB

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

Preview Lab → · Contrast checker → · Palette generator →

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