#CD93F2#CD93F2

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

Color values

HEX#CD93F2
RGBrgb(205, 147, 242)
HSLhsl(277, 79%, 76%)
HSVhsv(277, 39%, 95%)
CMYKcmyk(15.3%, 39.3%, 0%, 5.1%)
CIE-LABlab(69.65, 38.79, -39.35)
CIE-LCHlch(69.65, 55.25, 314.59°)
OKLaboklab(75.4% 0.0957 -0.1088)
OKLCHoklch(75.4% 0.145 311.3)
XYZxyz(51.6348, 40.2582, 89.0377)
Luminance0.4026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93F2 #B8F293
analogous
#9E93F2 #CD93F2 #F293E7
triadic
#CD93F2 #F2CD93 #93F2CD
tetradic
#CD93F2 #F29E93 #B8F293 #93E7F2
square
#CD93F2 #F29E93 #B8F293 #93E7F2
split-complementary
#CD93F2 #E7F293 #93F29E
monochromatic
#9A26E5 #B45CEB #CD93F2 #E6CAF9 #F2E4FC

Accessibility & contrast

On white

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

On black

9.05
#CD93F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93F2
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93F2#FFFFFF#000000##000000
##CD93F21.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A7F6
Deuteranopia (green-blind)
#8FABEF
Tritanopia (blue-blind)
#C9A1B7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd93f2;
/* rgb */ color: rgb(205, 147, 242);
/* oklch */ color: oklch(75.4% 0.145 311.3);
Tailwind
colors: {
  custom: {
    50: '#ddb3f6',
    500: '#cd93f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd93f2;
$custom-light: #ddb3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93f2",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 242
  },
  "hsl": {
    "h": 276.632,
    "s": 78.512,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75402,
    "c": 0.14493,
    "h": 311.3
  },
  "luminance": 0.40257
}

Semantic roles & 50–950 ramp

primary
#CD93F2
secondary
#E2F4D7
accent
#DB0B5C
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CD93F2

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

Preview Lab → · Contrast checker → · Palette generator →

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