#C948BB#C948BB

#C948BB is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.8% C 0.208 H 332.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C948BB
RGBrgb(201, 72, 187)
HSLhsl(307, 54%, 54%)
HSVhsv(307, 64%, 79%)
CMYKcmyk(0%, 64.2%, 7%, 21.2%)
CIE-LABlab(52.56, 64.15, -35.19)
CIE-LCHlch(52.56, 73.17, 331.25°)
OKLaboklab(61.81% 0.1841 -0.0964)
OKLCHoklch(61.81% 0.208 332.4)
XYZxyz(35.3744, 20.6428, 49.1254)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C948BB #48C956
analogous
#9648C9 #C948BB #C9487A
triadic
#C948BB #BBC948 #48BBC9
tetradic
#C948BB #C99648 #48C956 #487AC9
square
#C948BB #C99648 #48C956 #487AC9
split-complementary
#C948BB #7AC948 #48C996
monochromatic
#74226B #A43097 #C948BB #D777CD #E5A7DE

Accessibility & contrast

On white

4.10
#C948BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#C948BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C948BB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C948BB#FFFFFF#000000##000000
##C948BB1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#6E84B8
Tritanopia (blue-blind)
#D1547B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c948bb;
/* rgb */ color: rgb(201, 72, 187);
/* oklch */ color: oklch(61.8% 0.208 332.4);
Tailwind
colors: {
  custom: {
    50: '#dd84d0',
    500: '#c948bb',
    950: '#000000',
  },
}
SCSS
$custom: #c948bb;
$custom-light: #dd84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c948bb",
  "rgb": {
    "r": 201,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 306.512,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6181,
    "c": 0.20779,
    "h": 332.4
  },
  "luminance": 0.2064
}

Semantic roles & 50–950 ramp

primary
#C948BB
secondary
#9BD2A1
accent
#DE5A4A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#150C14
muted
#847D82

Preview Lab

Preview with #C948BB

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

Preview Lab → · Contrast checker → · Palette generator →

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