#CD94F9#CD94F9

#CD94F9 is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.9% C 0.151 H 309.2°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#CD94F9
RGBrgb(205, 148, 249)
HSLhsl(274, 89%, 78%)
HSVhsv(274, 41%, 98%)
CMYKcmyk(17.7%, 40.6%, 0%, 2.4%)
CIE-LABlab(70.18, 39.74, -42.35)
CIE-LCHlch(70.18, 58.08, 313.18°)
OKLaboklab(75.9% 0.0957 -0.1175)
OKLCHoklch(75.9% 0.151 309.2)
XYZxyz(52.8624, 40.9992, 94.7330)
Luminance0.4100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94F9 #C0F994
analogous
#9A94F9 #CD94F9 #F994F3
triadic
#CD94F9 #F9CD94 #94F9CD
tetradic
#CD94F9 #F99A94 #C0F994 #94F3F9
square
#CD94F9 #F99A94 #C0F994 #94F3F9
split-complementary
#CD94F9 #F3F994 #94F99A
monochromatic
#9720F3 #B25AF6 #CD94F9 #E8CEFC #F1E2FD

Accessibility & contrast

On white

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

On black

9.20
#CD94F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94F9
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94F9#FFFFFF#000000##000000
##CD94F91.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FD
Deuteranopia (green-blind)
#8CACF6
Tritanopia (blue-blind)
#C8A3BB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd94f9;
/* rgb */ color: rgb(205, 148, 249);
/* oklch */ color: oklch(75.9% 0.151 309.2);
Tailwind
colors: {
  custom: {
    50: '#deb4fb',
    500: '#cd94f9',
    950: '#000000',
  },
}
SCSS
$custom: #cd94f9;
$custom-light: #deb4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94f9",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 249
  },
  "hsl": {
    "h": 273.861,
    "s": 89.381,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75895,
    "c": 0.15149,
    "h": 309.2
  },
  "luminance": 0.40998
}

Semantic roles & 50–950 ramp

primary
#CD94F9
secondary
#E3F5D6
accent
#E60064
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD94F9

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

Preview Lab → · Contrast checker → · Palette generator →

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