#CD93F3#CD93F3

#CD93F3 is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.4% C 0.146 H 311.0°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#CD93F3
RGBrgb(205, 147, 243)
HSLhsl(276, 80%, 76%)
HSVhsv(276, 40%, 95%)
CMYKcmyk(15.6%, 39.5%, 0%, 4.7%)
CIE-LABlab(69.70, 39.00, -39.83)
CIE-LCHlch(69.70, 55.74, 314.40°)
OKLaboklab(75.45% 0.0959 -0.1102)
OKLCHoklch(75.45% 0.146 311)
XYZxyz(51.7854, 40.3185, 89.8308)
Luminance0.4032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93F3 #B9F393
analogous
#9D93F3 #CD93F3 #F393E9
triadic
#CD93F3 #F3CD93 #93F3CD
tetradic
#CD93F3 #F39D93 #B9F393 #93E9F3
square
#CD93F3 #F39D93 #B9F393 #93E9F3
split-complementary
#CD93F3 #E9F393 #93F39D
monochromatic
#9A25E7 #B45CED #CD93F3 #E7CAF9 #F2E3FC

Accessibility & contrast

On white

2.32
#CD93F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#CD93F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93F3
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93F3#FFFFFF#000000##000000
##CD93F31.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F7
Deuteranopia (green-blind)
#8EABF0
Tritanopia (blue-blind)
#C9A1B8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd93f3;
/* rgb */ color: rgb(205, 147, 243);
/* oklch */ color: oklch(75.4% 0.146 311.0);
Tailwind
colors: {
  custom: {
    50: '#ddb3f7',
    500: '#cd93f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd93f3;
$custom-light: #ddb3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93f3",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 243
  },
  "hsl": {
    "h": 276.25,
    "s": 80,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75448,
    "c": 0.1461,
    "h": 311
  },
  "luminance": 0.40318
}

Semantic roles & 50–950 ramp

primary
#CD93F3
secondary
#E3F4D7
accent
#DC095D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD93F3

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

Preview Lab → · Contrast checker → · Palette generator →

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