#CD94FA#CD94FA

#CD94FA is a light, vivid violet. Relative luminance 0.411; OKLCH L 75.9% C 0.153 H 308.9°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#CD94FA
RGBrgb(205, 148, 250)
HSLhsl(274, 91%, 78%)
HSVhsv(274, 41%, 98%)
CMYKcmyk(18%, 40.8%, 0%, 2%)
CIE-LABlab(70.22, 39.96, -42.83)
CIE-LCHlch(70.22, 58.57, 313.01°)
OKLaboklab(75.94% 0.0958 -0.1188)
OKLCHoklch(75.94% 0.153 308.9)
XYZxyz(53.0188, 41.0617, 95.5566)
Luminance0.4106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94FA #C1FA94
analogous
#9A94FA #CD94FA #FA94F4
triadic
#CD94FA #FACD94 #94FACD
tetradic
#CD94FA #FA9A94 #C1FA94 #94F4FA
square
#CD94FA #FA9A94 #C1FA94 #94F4FA
split-complementary
#CD94FA #F4FA94 #94FA9A
monochromatic
#961FF5 #B25AF7 #CD94FA #E8CEFD #F1E2FE

Accessibility & contrast

On white

2.28
#CD94FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#CD94FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94FA
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94FA#FFFFFF#000000##000000
##CD94FA1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FE
Deuteranopia (green-blind)
#8CADF7
Tritanopia (blue-blind)
#C7A4BB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd94fa;
/* rgb */ color: rgb(205, 148, 250);
/* oklch */ color: oklch(75.9% 0.153 308.9);
Tailwind
colors: {
  custom: {
    50: '#deb4fc',
    500: '#cd94fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd94fa;
$custom-light: #deb4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94fa",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 250
  },
  "hsl": {
    "h": 273.529,
    "s": 91.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75942,
    "c": 0.15267,
    "h": 308.9
  },
  "luminance": 0.41061
}

Semantic roles & 50–950 ramp

primary
#CD94FA
secondary
#E4F6D5
accent
#E60065
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD94FA

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

Preview Lab → · Contrast checker → · Palette generator →

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