#CD93FA#CD93FA

#CD93FA is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.8% C 0.154 H 309.1°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#CD93FA
RGBrgb(205, 147, 250)
HSLhsl(274, 91%, 78%)
HSVhsv(274, 41%, 98%)
CMYKcmyk(18%, 41.2%, 0%, 2%)
CIE-LABlab(70.00, 40.50, -43.17)
CIE-LCHlch(70.00, 59.19, 313.17°)
OKLaboklab(75.78% 0.0972 -0.1198)
OKLCHoklch(75.78% 0.154 309.1)
XYZxyz(52.8626, 40.7494, 95.5045)
Luminance0.4075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93FA #C0FA93
analogous
#9993FA #CD93FA #FA93F4
triadic
#CD93FA #FACD93 #93FACD
tetradic
#CD93FA #FA9993 #C0FA93 #93F4FA
square
#CD93FA #FA9993 #C0FA93 #93F4FA
split-complementary
#CD93FA #F4FA93 #93FA99
monochromatic
#971EF5 #B259F7 #CD93FA #E8CDFD #F1E2FE

Accessibility & contrast

On white

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

On black

9.15
#CD93FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93FA
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93FA#FFFFFF#000000##000000
##CD93FA1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FE
Deuteranopia (green-blind)
#8BACF7
Tritanopia (blue-blind)
#C7A3BB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd93fa;
/* rgb */ color: rgb(205, 147, 250);
/* oklch */ color: oklch(75.8% 0.154 309.1);
Tailwind
colors: {
  custom: {
    50: '#deb3fc',
    500: '#cd93fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd93fa;
$custom-light: #deb3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93fa",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 250
  },
  "hsl": {
    "h": 273.786,
    "s": 91.15,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75777,
    "c": 0.15431,
    "h": 309.1
  },
  "luminance": 0.40749
}

Semantic roles & 50–950 ramp

primary
#CD93FA
secondary
#E3F6D5
accent
#E60064
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD93FA

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

Preview Lab → · Contrast checker → · Palette generator →

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