#CD93F0#CD93F0

#CD93F0 is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.3% C 0.143 H 311.9°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#CD93F0
RGBrgb(205, 147, 240)
HSLhsl(277, 76%, 76%)
HSVhsv(277, 39%, 94%)
CMYKcmyk(14.6%, 38.8%, 0%, 5.9%)
CIE-LABlab(69.57, 38.36, -38.39)
CIE-LCHlch(69.57, 54.27, 314.98°)
OKLaboklab(75.31% 0.0953 -0.106)
OKLCHoklch(75.31% 0.143 311.9)
XYZxyz(51.3360, 40.1387, 87.4644)
Luminance0.4014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93F0 #B6F093
analogous
#9E93F0 #CD93F0 #F093E5
triadic
#CD93F0 #F0CD93 #93F0CD
tetradic
#CD93F0 #F09E93 #B6F093 #93E5F0
square
#CD93F0 #F09E93 #B6F093 #93E5F0
split-complementary
#CD93F0 #E5F093 #93F09E
monochromatic
#9B28E1 #B45DE9 #CD93F0 #E6C9F7 #F3E4FB

Accessibility & contrast

On white

2.33
#CD93F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#CD93F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93F0
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93F0#FFFFFF#000000##000000
##CD93F01.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A7F3
Deuteranopia (green-blind)
#8FABED
Tritanopia (blue-blind)
#CAA0B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd93f0;
/* rgb */ color: rgb(205, 147, 240);
/* oklch */ color: oklch(75.3% 0.143 311.9);
Tailwind
colors: {
  custom: {
    50: '#ddb3f5',
    500: '#cd93f0',
    950: '#000000',
  },
}
SCSS
$custom: #cd93f0;
$custom-light: #ddb3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93f0",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 240
  },
  "hsl": {
    "h": 277.419,
    "s": 75.61,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7531,
    "c": 0.14259,
    "h": 311.9
  },
  "luminance": 0.40138
}

Semantic roles & 50–950 ramp

primary
#CD93F0
secondary
#E2F3D8
accent
#D80E5A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD93F0

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

Preview Lab → · Contrast checker → · Palette generator →

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