#CD94FF#CD94FF

#CD94FF is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.2% C 0.159 H 307.6°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#CD94FF
RGBrgb(205, 148, 255)
HSLhsl(272, 100%, 79%)
HSVhsv(272, 42%, 100%)
CMYKcmyk(19.6%, 42%, 0%, 0%)
CIE-LABlab(70.44, 41.05, -45.20)
CIE-LCHlch(70.44, 61.06, 312.24°)
OKLaboklab(76.18% 0.0967 -0.1257)
OKLCHoklch(76.18% 0.159 307.6)
XYZxyz(53.8132, 41.3795, 99.7405)
Luminance0.4138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94FF #C6FF94
analogous
#9894FF #CD94FF #FF94FB
triadic
#CD94FF #FFCD94 #94FFCD
tetradic
#CD94FF #FF9894 #C6FF94 #94FBFF
square
#CD94FF #FF9894 #C6FF94 #94FBFF
split-complementary
#CD94FF #FBFF94 #94FF98
monochromatic
#941AFF #B057FF #CD94FF #EAD1FF #F1E0FF

Accessibility & contrast

On white

2.26
#CD94FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#CD94FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94FF
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94FF#FFFFFF#000000##000000
##CD94FF1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd94ff;
/* rgb */ color: rgb(205, 148, 255);
/* oklch */ color: oklch(76.2% 0.159 307.6);
Tailwind
colors: {
  custom: {
    50: '#deb4ff',
    500: '#cd94ff',
    950: '#000000',
  },
}
SCSS
$custom: #cd94ff;
$custom-light: #deb4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94ff",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 255
  },
  "hsl": {
    "h": 271.963,
    "s": 100,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76182,
    "c": 0.1586,
    "h": 307.6
  },
  "luminance": 0.41379
}

Semantic roles & 50–950 ramp

primary
#CD94FF
secondary
#E4F7D4
accent
#E6006B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD94FF

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

Preview Lab → · Contrast checker → · Palette generator →

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