#C948DC#C948DC

#C948DC is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.6% C 0.234 H 322.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#C948DC
RGBrgb(201, 72, 220)
HSLhsl(292, 68%, 57%)
HSVhsv(292, 67%, 86%)
CMYKcmyk(8.6%, 67.3%, 0%, 13.7%)
CIE-LABlab(54.26, 69.71, -51.40)
CIE-LCHlch(54.26, 86.62, 323.60°)
OKLaboklab(63.59% 0.1855 -0.1434)
OKLCHoklch(63.59% 0.234 322.3)
XYZxyz(39.3217, 22.2217, 69.9143)
Luminance0.2222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C948DC #5BDC48
analogous
#7F48DC #C948DC #DC48A5
triadic
#C948DC #DCC948 #48DCC9
tetradic
#C948DC #DC7F48 #5BDC48 #48A5DC
square
#C948DC #DC7F48 #5BDC48 #48A5DC
split-complementary
#C948DC #A5DC48 #48DC7F
monochromatic
#801B8E #AE25C2 #C948DC #D87BE6 #E7AFF0

Accessibility & contrast

On white

3.86
#C948DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#C948DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C948DC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C948DC#FFFFFF#000000##000000
##C948DC1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A78E0
Deuteranopia (green-blind)
#5C87D8
Tritanopia (blue-blind)
#CB618D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c948dc;
/* rgb */ color: rgb(201, 72, 220);
/* oklch */ color: oklch(63.6% 0.234 322.3);
Tailwind
colors: {
  custom: {
    50: '#dd85e7',
    500: '#c948dc',
    950: '#000000',
  },
}
SCSS
$custom: #c948dc;
$custom-light: #dd85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c948dc",
  "rgb": {
    "r": 201,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 292.297,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63593,
    "c": 0.23441,
    "h": 322.3
  },
  "luminance": 0.2222
}

Semantic roles & 50–950 ramp

primary
#C948DC
secondary
#AADEA2
accent
#EB3D53
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #C948DC

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

Preview Lab → · Contrast checker → · Palette generator →

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