#CD93F5#CD93F5

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

Color values

HEX#CD93F5
RGBrgb(205, 147, 245)
HSLhsl(276, 83%, 77%)
HSVhsv(276, 40%, 96%)
CMYKcmyk(16.3%, 40%, 0%, 3.9%)
CIE-LABlab(69.78, 39.42, -40.79)
CIE-LCHlch(69.78, 56.73, 314.03°)
OKLaboklab(75.54% 0.0963 -0.1129)
OKLCHoklch(75.54% 0.148 310.5)
XYZxyz(52.0890, 40.4399, 91.4301)
Luminance0.4044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93F5 #BBF593
analogous
#9C93F5 #CD93F5 #F593EC
triadic
#CD93F5 #F5CD93 #93F5CD
tetradic
#CD93F5 #F59C93 #BBF593 #93ECF5
square
#CD93F5 #F59C93 #BBF593 #93ECF5
split-complementary
#CD93F5 #ECF593 #93F59C
monochromatic
#9923EB #B35BF0 #CD93F5 #E7CBFA #F2E3FC

Accessibility & contrast

On white

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

On black

9.09
#CD93F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93F5
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93F5#FFFFFF#000000##000000
##CD93F51.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA8F9
Deuteranopia (green-blind)
#8DACF2
Tritanopia (blue-blind)
#C9A1B8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd93f5;
/* rgb */ color: rgb(205, 147, 245);
/* oklch */ color: oklch(75.5% 0.148 310.5);
Tailwind
colors: {
  custom: {
    50: '#deb3f9',
    500: '#cd93f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd93f5;
$custom-light: #deb3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93f5",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 245
  },
  "hsl": {
    "h": 275.51,
    "s": 83.051,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75541,
    "c": 0.14843,
    "h": 310.5
  },
  "luminance": 0.40439
}

Semantic roles & 50–950 ramp

primary
#CD93F5
secondary
#E3F4D7
accent
#DF065F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD93F5

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

Preview Lab → · Contrast checker → · Palette generator →

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