#C948CE#C948CE

#C948CE is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.8% C 0.223 H 326.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#C948CE
RGBrgb(201, 72, 206)
HSLhsl(298, 58%, 55%)
HSVhsv(298, 65%, 81%)
CMYKcmyk(2.4%, 65%, 0%, 19.2%)
CIE-LABlab(53.50, 67.28, -44.64)
CIE-LCHlch(53.50, 80.74, 326.44°)
OKLaboklab(62.8% 0.1853 -0.1237)
OKLCHoklch(62.8% 0.223 326.3)
XYZxyz(37.5446, 21.5109, 60.5550)
Luminance0.2151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C948CE #4DCE48
analogous
#8648CE #C948CE #CE4890
triadic
#C948CE #CEC948 #48CEC9
tetradic
#C948CE #CE8648 #4DCE48 #4890CE
square
#C948CE #CE8648 #4DCE48 #4890CE
split-complementary
#C948CE #90CE48 #48CE86
monochromatic
#77217B #A62EAB #C948CE #D778DB #E5A9E8

Accessibility & contrast

On white

3.96
#C948CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#C948CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C948CE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C948CE#FFFFFF#000000##000000
##C948CE1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c948ce;
/* rgb */ color: rgb(201, 72, 206);
/* oklch */ color: oklch(62.8% 0.223 326.3);
Tailwind
colors: {
  custom: {
    50: '#dd85dd',
    500: '#c948ce',
    950: '#000000',
  },
}
SCSS
$custom: #c948ce;
$custom-light: #dd85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c948ce",
  "rgb": {
    "r": 201,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 297.761,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62804,
    "c": 0.22282,
    "h": 326.3
  },
  "luminance": 0.21508
}

Semantic roles & 50–950 ramp

primary
#C948CE
secondary
#9FD59D
accent
#E1474D
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150C15
muted
#847D83

Preview Lab

Preview with #C948CE

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

Preview Lab → · Contrast checker → · Palette generator →

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