#CD94FE#CD94FE

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

Color values

HEX#CD94FE
RGBrgb(205, 148, 254)
HSLhsl(272, 98%, 79%)
HSVhsv(272, 42%, 100%)
CMYKcmyk(19.3%, 41.7%, 0%, 0.4%)
CIE-LABlab(70.40, 40.83, -44.73)
CIE-LCHlch(70.40, 60.56, 312.39°)
OKLaboklab(76.13% 0.0965 -0.1243)
OKLCHoklch(76.13% 0.157 307.8)
XYZxyz(53.6527, 41.3153, 98.8949)
Luminance0.4132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94FE #C5FE94
analogous
#9894FE #CD94FE #FE94FA
triadic
#CD94FE #FECD94 #94FECD
tetradic
#CD94FE #FE9894 #C5FE94 #94FAFE
square
#CD94FE #FE9894 #C5FE94 #94FAFE
split-complementary
#CD94FE #FAFE94 #94FE98
monochromatic
#941BFD #B157FD #CD94FE #E9D1FF #F1E1FF

Accessibility & contrast

On white

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

On black

9.26
#CD94FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94FE
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94FE#FFFFFF#000000##000000
##CD94FE1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#8AADFB
Tritanopia (blue-blind)
#C6A5BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd94fe;
/* rgb */ color: rgb(205, 148, 254);
/* oklch */ color: oklch(76.1% 0.157 307.8);
Tailwind
colors: {
  custom: {
    50: '#deb4ff',
    500: '#cd94fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd94fe;
$custom-light: #deb4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94fe",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 254
  },
  "hsl": {
    "h": 272.264,
    "s": 98.148,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76134,
    "c": 0.15741,
    "h": 307.8
  },
  "luminance": 0.41315
}

Semantic roles & 50–950 ramp

primary
#CD94FE
secondary
#E4F7D4
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD94FE

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

Preview Lab → · Contrast checker → · Palette generator →

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