#C948CD#C948CD

#C948CD is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.7% C 0.222 H 326.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#C948CD
RGBrgb(201, 72, 205)
HSLhsl(298, 57%, 54%)
HSVhsv(298, 65%, 80%)
CMYKcmyk(2%, 64.9%, 0%, 19.6%)
CIE-LABlab(53.45, 67.11, -44.15)
CIE-LCHlch(53.45, 80.33, 326.66°)
OKLaboklab(62.75% 0.1853 -0.1223)
OKLCHoklch(62.75% 0.222 326.6)
XYZxyz(37.4235, 21.4624, 59.9173)
Luminance0.2146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C948CD #4CCD48
analogous
#8648CD #C948CD #CD488F
triadic
#C948CD #CDC948 #48CDC9
tetradic
#C948CD #CD8648 #4CCD48 #488FCD
square
#C948CD #CD8648 #4CCD48 #488FCD
split-complementary
#C948CD #8FCD48 #48CD86
monochromatic
#772179 #A62EA9 #C948CD #D778DA #E5A8E7

Accessibility & contrast

On white

3.97
#C948CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#C948CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C948CD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C948CD#FFFFFF#000000##000000
##C948CD1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3275D1
Deuteranopia (green-blind)
#6585CA
Tritanopia (blue-blind)
#CE5B85
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c948cd;
/* rgb */ color: rgb(201, 72, 205);
/* oklch */ color: oklch(62.7% 0.222 326.6);
Tailwind
colors: {
  custom: {
    50: '#dd84dd',
    500: '#c948cd',
    950: '#000000',
  },
}
SCSS
$custom: #c948cd;
$custom-light: #dd84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c948cd",
  "rgb": {
    "r": 201,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 298.195,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62749,
    "c": 0.22201,
    "h": 326.6
  },
  "luminance": 0.2146
}

Semantic roles & 50–950 ramp

primary
#C948CD
secondary
#9ED59C
accent
#E0474C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150C15
muted
#847D83

Preview Lab

Preview with #C948CD

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

Preview Lab → · Contrast checker → · Palette generator →

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