#CD94F8#CD94F8

#CD94F8 is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.8% C 0.150 H 309.4°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#CD94F8
RGBrgb(205, 148, 248)
HSLhsl(274, 88%, 78%)
HSVhsv(274, 40%, 97%)
CMYKcmyk(17.3%, 40.3%, 0%, 2.7%)
CIE-LABlab(70.13, 39.53, -41.88)
CIE-LCHlch(70.13, 57.58, 313.35°)
OKLaboklab(75.85% 0.0955 -0.1161)
OKLCHoklch(75.85% 0.15 309.4)
XYZxyz(52.7069, 40.9369, 93.9137)
Luminance0.4094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94F8 #BFF894
analogous
#9B94F8 #CD94F8 #F894F1
triadic
#CD94F8 #F8CD94 #94F8CD
tetradic
#CD94F8 #F89B94 #BFF894 #94F1F8
square
#CD94F8 #F89B94 #BFF894 #94F1F8
split-complementary
#CD94F8 #F1F894 #94F89B
monochromatic
#9721F0 #B25BF4 #CD94F8 #E8CDFC #F2E2FD

Accessibility & contrast

On white

2.29
#CD94F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#CD94F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94F8
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94F8#FFFFFF#000000##000000
##CD94F81.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FC
Deuteranopia (green-blind)
#8DACF5
Tritanopia (blue-blind)
#C8A3BA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd94f8;
/* rgb */ color: rgb(205, 148, 248);
/* oklch */ color: oklch(75.8% 0.150 309.4);
Tailwind
colors: {
  custom: {
    50: '#deb4fb',
    500: '#cd94f8',
    950: '#000000',
  },
}
SCSS
$custom: #cd94f8;
$custom-light: #deb4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94f8",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 248
  },
  "hsl": {
    "h": 274.2,
    "s": 87.719,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75848,
    "c": 0.15031,
    "h": 309.4
  },
  "luminance": 0.40936
}

Semantic roles & 50–950 ramp

primary
#CD94F8
secondary
#E3F5D6
accent
#E40163
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD94F8

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

Preview Lab → · Contrast checker → · Palette generator →

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