#C948D7#C948D7

#C948D7 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.3% C 0.230 H 323.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#C948D7
RGBrgb(201, 72, 215)
HSLhsl(294, 64%, 56%)
HSVhsv(294, 67%, 84%)
CMYKcmyk(6.5%, 66.5%, 0%, 15.7%)
CIE-LABlab(53.99, 68.83, -49.01)
CIE-LCHlch(53.99, 84.49, 324.55°)
OKLaboklab(63.31% 0.1855 -0.1364)
OKLCHoklch(63.31% 0.23 323.7)
XYZxyz(38.6694, 21.9608, 66.4789)
Luminance0.2196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C948D7 #56D748
analogous
#8248D7 #C948D7 #D7489E
triadic
#C948D7 #D7C948 #48D7C9
tetradic
#C948D7 #D78248 #56D748 #489ED7
square
#C948D7 #D78248 #56D748 #489ED7
split-complementary
#C948D7 #9ED748 #48D782
monochromatic
#7D1E87 #AB29B9 #C948D7 #D87AE2 #E7ACED

Accessibility & contrast

On white

3.89
#C948D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#C948D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C948D7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C948D7#FFFFFF#000000##000000
##C948D71.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2477DB
Deuteranopia (green-blind)
#5F86D3
Tritanopia (blue-blind)
#CC5F8A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c948d7;
/* rgb */ color: rgb(201, 72, 215);
/* oklch */ color: oklch(63.3% 0.230 323.7);
Tailwind
colors: {
  custom: {
    50: '#dd85e4',
    500: '#c948d7',
    950: '#000000',
  },
}
SCSS
$custom: #c948d7;
$custom-light: #dd85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c948d7",
  "rgb": {
    "r": 201,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 294.126,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63306,
    "c": 0.23024,
    "h": 323.7
  },
  "luminance": 0.21959
}

Semantic roles & 50–950 ramp

primary
#C948D7
secondary
#A6DBA0
accent
#E74151
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #C948D7

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

Preview Lab → · Contrast checker → · Palette generator →

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