#CD93F9#CD93F9

#CD93F9 is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.7% C 0.153 H 309.3°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#CD93F9
RGBrgb(205, 147, 249)
HSLhsl(274, 89%, 78%)
HSVhsv(274, 41%, 98%)
CMYKcmyk(17.7%, 41%, 0%, 2.4%)
CIE-LABlab(69.96, 40.28, -42.70)
CIE-LCHlch(69.96, 58.70, 313.33°)
OKLaboklab(75.73% 0.0971 -0.1185)
OKLCHoklch(75.73% 0.153 309.3)
XYZxyz(52.7063, 40.6868, 94.6809)
Luminance0.4069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93F9 #BFF993
analogous
#9A93F9 #CD93F9 #F993F2
triadic
#CD93F9 #F9CD93 #93F9CD
tetradic
#CD93F9 #F99A93 #BFF993 #93F2F9
square
#CD93F9 #F99A93 #BFF993 #93F2F9
split-complementary
#CD93F9 #F2F993 #93F99A
monochromatic
#971FF3 #B259F6 #CD93F9 #E8CDFC #F2E2FD

Accessibility & contrast

On white

2.30
#CD93F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#CD93F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93F9
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93F9#FFFFFF#000000##000000
##CD93F91.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FD
Deuteranopia (green-blind)
#8BACF6
Tritanopia (blue-blind)
#C8A2BA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd93f9;
/* rgb */ color: rgb(205, 147, 249);
/* oklch */ color: oklch(75.7% 0.153 309.3);
Tailwind
colors: {
  custom: {
    50: '#deb3fb',
    500: '#cd93f9',
    950: '#000000',
  },
}
SCSS
$custom: #cd93f9;
$custom-light: #deb3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93f9",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 249
  },
  "hsl": {
    "h": 274.118,
    "s": 89.474,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7573,
    "c": 0.15314,
    "h": 309.3
  },
  "luminance": 0.40686
}

Semantic roles & 50–950 ramp

primary
#CD93F9
secondary
#E3F5D6
accent
#E60063
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD93F9

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

Preview Lab → · Contrast checker → · Palette generator →

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