#CD94D2#CD94D2

#CD94D2 is a light, moderate purple. Relative luminance 0.388; OKLCH L 74.2% C 0.107 H 323.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#CD94D2
RGBrgb(205, 148, 210)
HSLhsl(295, 41%, 70%)
HSVhsv(295, 30%, 82%)
CMYKcmyk(2.4%, 29.5%, 0%, 17.6%)
CIE-LABlab(68.62, 31.78, -23.33)
CIE-LCHlch(68.62, 39.42, 323.71°)
OKLaboklab(74.2% 0.0866 -0.0633)
OKLCHoklch(74.2% 0.107 323.8)
XYZxyz(47.3983, 38.8135, 65.9552)
Luminance0.3881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94D2 #99D294
analogous
#AE94D2 #CD94D2 #D294B8
triadic
#CD94D2 #D2CD94 #94D2CD
tetradic
#CD94D2 #D2AE94 #99D294 #94B8D2
square
#CD94D2 #D2AE94 #99D294 #94B8D2
split-complementary
#CD94D2 #B8D294 #94D2AE
monochromatic
#9E46A6 #B969C0 #CD94D2 #E1BFE4 #F5E9F6

Accessibility & contrast

On white

2.40
#CD94D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#CD94D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94D2
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94D2#FFFFFF#000000##000000
##CD94D21.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA3D4
Deuteranopia (green-blind)
#9CAAD0
Tritanopia (blue-blind)
#D09AAA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd94d2;
/* rgb */ color: rgb(205, 148, 210);
/* oklch */ color: oklch(74.2% 0.107 323.8);
Tailwind
colors: {
  custom: {
    50: '#ddb4e0',
    500: '#cd94d2',
    950: '#000000',
  },
}
SCSS
$custom: #cd94d2;
$custom-light: #ddb4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94d2",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 210
  },
  "hsl": {
    "h": 295.161,
    "s": 40.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74201,
    "c": 0.10729,
    "h": 323.8
  },
  "luminance": 0.38812
}

Semantic roles & 50–950 ramp

primary
#CD94D2
secondary
#DAE9D8
accent
#B4323C
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD94D2

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

Preview Lab → · Contrast checker → · Palette generator →

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