#CD94F3#CD94F3

#CD94F3 is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.6% C 0.144 H 310.9°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#CD94F3
RGBrgb(205, 148, 243)
HSLhsl(276, 80%, 77%)
HSVhsv(276, 39%, 95%)
CMYKcmyk(15.6%, 39.1%, 0%, 4.7%)
CIE-LABlab(69.92, 38.46, -39.48)
CIE-LCHlch(69.92, 55.12, 314.24°)
OKLaboklab(75.61% 0.0945 -0.1092)
OKLCHoklch(75.61% 0.144 310.9)
XYZxyz(51.9415, 40.6308, 89.8829)
Luminance0.4063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94F3 #BAF394
analogous
#9E94F3 #CD94F3 #F394EA
triadic
#CD94F3 #F3CD94 #94F3CD
tetradic
#CD94F3 #F39E94 #BAF394 #94EAF3
square
#CD94F3 #F39E94 #BAF394 #94EAF3
split-complementary
#CD94F3 #EAF394 #94F39E
monochromatic
#9A26E7 #B35DED #CD94F3 #E7CBF9 #F2E3FC

Accessibility & contrast

On white

2.30
#CD94F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#CD94F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94F3
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94F3#FFFFFF#000000##000000
##CD94F31.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A8F7
Deuteranopia (green-blind)
#8FACF0
Tritanopia (blue-blind)
#C9A2B8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd94f3;
/* rgb */ color: rgb(205, 148, 243);
/* oklch */ color: oklch(75.6% 0.144 310.9);
Tailwind
colors: {
  custom: {
    50: '#ddb4f7',
    500: '#cd94f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd94f3;
$custom-light: #ddb4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94f3",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 243
  },
  "hsl": {
    "h": 276,
    "s": 79.832,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75615,
    "c": 0.14443,
    "h": 310.9
  },
  "luminance": 0.4063
}

Semantic roles & 50–950 ramp

primary
#CD94F3
secondary
#E3F4D7
accent
#DC095E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD94F3

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

Preview Lab → · Contrast checker → · Palette generator →

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