#CD94FB#CD94FB

#CD94FB is a light, vivid violet. Relative luminance 0.411; OKLCH L 76.0% C 0.154 H 308.6°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#CD94FB
RGBrgb(205, 148, 251)
HSLhsl(273, 93%, 78%)
HSVhsv(273, 41%, 98%)
CMYKcmyk(18.3%, 41%, 0%, 1.6%)
CIE-LABlab(70.26, 40.17, -43.30)
CIE-LCHlch(70.26, 59.07, 312.85°)
OKLaboklab(75.99% 0.096 -0.1202)
OKLCHoklch(75.99% 0.154 308.6)
XYZxyz(53.1760, 41.1246, 96.3846)
Luminance0.4112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94FB #C2FB94
analogous
#9994FB #CD94FB #FB94F5
triadic
#CD94FB #FBCD94 #94FBCD
tetradic
#CD94FB #FB9994 #C2FB94 #94F5FB
square
#CD94FB #FB9994 #C2FB94 #94F5FB
split-complementary
#CD94FB #F5FB94 #94FB99
monochromatic
#961EF7 #B159F9 #CD94FB #E9CFFD #F1E2FE

Accessibility & contrast

On white

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

On black

9.22
#CD94FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94FB
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94FB#FFFFFF#000000##000000
##CD94FB1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd94fb;
/* rgb */ color: rgb(205, 148, 251);
/* oklch */ color: oklch(76.0% 0.154 308.6);
Tailwind
colors: {
  custom: {
    50: '#deb4fd',
    500: '#cd94fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd94fb;
$custom-light: #deb4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94fb",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 251
  },
  "hsl": {
    "h": 273.204,
    "s": 92.793,
    "l": 78.235
  },
  "oklch": {
    "l": 0.7599,
    "c": 0.15386,
    "h": 308.6
  },
  "luminance": 0.41124
}

Semantic roles & 50–950 ramp

primary
#CD94FB
secondary
#E4F6D5
accent
#E60066
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD94FB

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

Preview Lab → · Contrast checker → · Palette generator →

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