#CD94FD#CD94FD

#CD94FD is a light, vivid violet. Relative luminance 0.413; OKLCH L 76.1% C 0.156 H 308.1°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#CD94FD
RGBrgb(205, 148, 253)
HSLhsl(273, 96%, 79%)
HSVhsv(273, 42%, 99%)
CMYKcmyk(19%, 41.5%, 0%, 0.8%)
CIE-LABlab(70.35, 40.61, -44.25)
CIE-LCHlch(70.35, 60.06, 312.54°)
OKLaboklab(76.09% 0.0964 -0.123)
OKLCHoklch(76.09% 0.156 308.1)
XYZxyz(53.4930, 41.2514, 98.0537)
Luminance0.4125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94FD #C4FD94
analogous
#9894FD #CD94FD #FD94F9
triadic
#CD94FD #FDCD94 #94FDCD
tetradic
#CD94FD #FD9894 #C4FD94 #94F9FD
square
#CD94FD #FD9894 #C4FD94 #94F9FD
split-complementary
#CD94FD #F9FD94 #94FD98
monochromatic
#951CFB #B158FC #CD94FD #E9D0FE #F1E1FE

Accessibility & contrast

On white

2.27
#CD94FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#CD94FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94FD
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94FD#FFFFFF#000000##000000
##CD94FD1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#8AADFA
Tritanopia (blue-blind)
#C7A4BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd94fd;
/* rgb */ color: rgb(205, 148, 253);
/* oklch */ color: oklch(76.1% 0.156 308.1);
Tailwind
colors: {
  custom: {
    50: '#deb4fe',
    500: '#cd94fd',
    950: '#000000',
  },
}
SCSS
$custom: #cd94fd;
$custom-light: #deb4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94fd",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 253
  },
  "hsl": {
    "h": 272.571,
    "s": 96.33,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76085,
    "c": 0.15623,
    "h": 308.1
  },
  "luminance": 0.41251
}

Semantic roles & 50–950 ramp

primary
#CD94FD
secondary
#E4F7D4
accent
#E60069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD94FD

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

Preview Lab → · Contrast checker → · Palette generator →

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