#C948DB#C948DB

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

Color values

HEX#C948DB
RGBrgb(201, 72, 219)
HSLhsl(293, 67%, 57%)
HSVhsv(293, 67%, 86%)
CMYKcmyk(8.2%, 67.1%, 0%, 14.1%)
CIE-LABlab(54.21, 69.54, -50.93)
CIE-LCHlch(54.21, 86.19, 323.78°)
OKLaboklab(63.54% 0.1855 -0.142)
OKLCHoklch(63.54% 0.234 322.6)
XYZxyz(39.1897, 22.1689, 69.2189)
Luminance0.2217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C948DB #5ADB48
analogous
#8048DB #C948DB #DB48A4
triadic
#C948DB #DBC948 #48DBC9
tetradic
#C948DB #DB8048 #5ADB48 #48A4DB
square
#C948DB #DB8048 #5ADB48 #48A4DB
split-complementary
#C948DB #A4DB48 #48DB80
monochromatic
#7F1C8D #AD26C0 #C948DB #D87BE5 #E7AEEF

Accessibility & contrast

On white

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

On black

5.43
#C948DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C948DB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C948DB#FFFFFF#000000##000000
##C948DB1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D78DF
Deuteranopia (green-blind)
#5D87D7
Tritanopia (blue-blind)
#CC618C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c948db;
/* rgb */ color: rgb(201, 72, 219);
/* oklch */ color: oklch(63.5% 0.234 322.6);
Tailwind
colors: {
  custom: {
    50: '#dd85e7',
    500: '#c948db',
    950: '#000000',
  },
}
SCSS
$custom: #c948db;
$custom-light: #dd85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c948db",
  "rgb": {
    "r": 201,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 292.653,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63535,
    "c": 0.23357,
    "h": 322.6
  },
  "luminance": 0.22167
}

Semantic roles & 50–950 ramp

primary
#C948DB
secondary
#A9DDA2
accent
#EA3E53
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #C948DB

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

Preview Lab → · Contrast checker → · Palette generator →

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