#CD93F4#CD93F4

#CD93F4 is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.5% C 0.147 H 310.7°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#CD93F4
RGBrgb(205, 147, 244)
HSLhsl(276, 82%, 77%)
HSVhsv(276, 40%, 96%)
CMYKcmyk(16%, 39.8%, 0%, 4.3%)
CIE-LABlab(69.74, 39.21, -40.31)
CIE-LCHlch(69.74, 56.23, 314.21°)
OKLaboklab(75.5% 0.0961 -0.1116)
OKLCHoklch(75.5% 0.147 310.7)
XYZxyz(51.9368, 40.3790, 90.6283)
Luminance0.4038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93F4 #BAF493
analogous
#9D93F4 #CD93F4 #F493EB
triadic
#CD93F4 #F4CD93 #93F4CD
tetradic
#CD93F4 #F49D93 #BAF493 #93EBF4
square
#CD93F4 #F49D93 #BAF493 #93EBF4
split-complementary
#CD93F4 #EBF493 #93F49D
monochromatic
#9A24E9 #B35BEE #CD93F4 #E7CBFA #F2E3FC

Accessibility & contrast

On white

2.31
#CD93F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#CD93F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93F4
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93F4#FFFFFF#000000##000000
##CD93F41.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd93f4;
/* rgb */ color: rgb(205, 147, 244);
/* oklch */ color: oklch(75.5% 0.147 310.7);
Tailwind
colors: {
  custom: {
    50: '#deb3f8',
    500: '#cd93f4',
    950: '#000000',
  },
}
SCSS
$custom: #cd93f4;
$custom-light: #deb3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93f4",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 244
  },
  "hsl": {
    "h": 275.876,
    "s": 81.513,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75495,
    "c": 0.14726,
    "h": 310.7
  },
  "luminance": 0.40378
}

Semantic roles & 50–950 ramp

primary
#CD93F4
secondary
#E3F4D7
accent
#DE085E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD93F4

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

Preview Lab → · Contrast checker → · Palette generator →

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