#C948DD#C948DD

#C948DD is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.7% C 0.235 H 322.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#C948DD
RGBrgb(201, 72, 221)
HSLhsl(292, 69%, 57%)
HSVhsv(292, 67%, 87%)
CMYKcmyk(9%, 67.4%, 0%, 13.3%)
CIE-LABlab(54.32, 69.89, -51.88)
CIE-LCHlch(54.32, 87.04, 323.41°)
OKLaboklab(63.65% 0.1854 -0.1448)
OKLCHoklch(63.65% 0.235 322)
XYZxyz(39.4545, 22.2748, 70.6139)
Luminance0.2227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C948DD #5CDD48
analogous
#7E48DD #C948DD #DD48A7
triadic
#C948DD #DDC948 #48DDC9
tetradic
#C948DD #DD7E48 #5CDD48 #48A7DD
square
#C948DD #DD7E48 #5CDD48 #48A7DD
split-complementary
#C948DD #A7DD48 #48DD7E
monochromatic
#801B90 #AE24C3 #C948DD #D87CE7 #E7AFF0

Accessibility & contrast

On white

3.85
#C948DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#C948DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C948DD
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C948DD#FFFFFF#000000##000000
##C948DD1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1879E1
Deuteranopia (green-blind)
#5B87D9
Tritanopia (blue-blind)
#CB628D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c948dd;
/* rgb */ color: rgb(201, 72, 221);
/* oklch */ color: oklch(63.7% 0.235 322.0);
Tailwind
colors: {
  custom: {
    50: '#dd85e8',
    500: '#c948dd',
    950: '#000000',
  },
}
SCSS
$custom: #c948dd;
$custom-light: #dd85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c948dd",
  "rgb": {
    "r": 201,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 291.946,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63652,
    "c": 0.23525,
    "h": 322
  },
  "luminance": 0.22273
}

Semantic roles & 50–950 ramp

primary
#C948DD
secondary
#AADEA2
accent
#EC3C54
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #C948DD

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

Preview Lab → · Contrast checker → · Palette generator →

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