#CD94FC#CD94FC

#CD94FC is a light, vivid violet. Relative luminance 0.412; OKLCH L 76.0% C 0.155 H 308.4°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#CD94FC
RGBrgb(205, 148, 252)
HSLhsl(273, 95%, 78%)
HSVhsv(273, 41%, 99%)
CMYKcmyk(18.7%, 41.3%, 0%, 1.2%)
CIE-LABlab(70.31, 40.39, -43.78)
CIE-LCHlch(70.31, 59.57, 312.70°)
OKLaboklab(76.04% 0.0962 -0.1216)
OKLCHoklch(76.04% 0.155 308.4)
XYZxyz(53.3341, 41.1878, 97.2170)
Luminance0.4119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94FC #C3FC94
analogous
#9994FC #CD94FC #FC94F7
triadic
#CD94FC #FCCD94 #94FCCD
tetradic
#CD94FC #FC9994 #C3FC94 #94F7FC
square
#CD94FC #FC9994 #C3FC94 #94F7FC
split-complementary
#CD94FC #F7FC94 #94FC99
monochromatic
#951DF9 #B158FA #CD94FC #E9D0FE #F1E1FE

Accessibility & contrast

On white

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

On black

9.24
#CD94FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94FC
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94FC#FFFFFF#000000##000000
##CD94FC1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#8BADF9
Tritanopia (blue-blind)
#C7A4BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd94fc;
/* rgb */ color: rgb(205, 148, 252);
/* oklch */ color: oklch(76.0% 0.155 308.4);
Tailwind
colors: {
  custom: {
    50: '#deb4fe',
    500: '#cd94fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd94fc;
$custom-light: #deb4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94fc",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 252
  },
  "hsl": {
    "h": 272.885,
    "s": 94.545,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76037,
    "c": 0.15504,
    "h": 308.4
  },
  "luminance": 0.41187
}

Semantic roles & 50–950 ramp

primary
#CD94FC
secondary
#E4F6D5
accent
#E60068
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD94FC

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

Preview Lab → · Contrast checker → · Palette generator →

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