#C948E8#C948E8

#C948E8 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.3% C 0.245 H 319.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#C948E8
RGBrgb(201, 72, 232)
HSLhsl(288, 78%, 60%)
HSVhsv(288, 69%, 91%)
CMYKcmyk(13.4%, 69%, 0%, 9%)
CIE-LABlab(54.95, 71.88, -57.08)
CIE-LCHlch(54.95, 91.78, 321.55°)
OKLaboklab(64.31% 0.185 -0.1599)
OKLCHoklch(64.31% 0.245 319.2)
XYZxyz(40.9683, 22.8804, 78.5867)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C948E8 #67E848
analogous
#7948E8 #C948E8 #E848B7
triadic
#C948E8 #E8C948 #48E8C9
tetradic
#C948E8 #E87948 #67E848 #48B7E8
square
#C948E8 #E87948 #67E848 #48B7E8
split-complementary
#C948E8 #B7E848 #48E879
monochromatic
#8614A1 #B31BD8 #C948E8 #D97EEF #E9B5F6

Accessibility & contrast

On white

3.77
#C948E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#C948E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C948E8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C948E8#FFFFFF#000000##000000
##C948E81.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#5388E4
Tritanopia (blue-blind)
#C96693
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c948e8;
/* rgb */ color: rgb(201, 72, 232);
/* oklch */ color: oklch(64.3% 0.245 319.2);
Tailwind
colors: {
  custom: {
    50: '#dd85f0',
    500: '#c948e8',
    950: '#000000',
  },
}
SCSS
$custom: #c948e8;
$custom-light: #dd85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c948e8",
  "rgb": {
    "r": 201,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 288.375,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64307,
    "c": 0.24456,
    "h": 319.2
  },
  "luminance": 0.22878
}

Semantic roles & 50–950 ramp

primary
#C948E8
secondary
#B3E5A7
accent
#F43459
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #C948E8

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

Preview Lab → · Contrast checker → · Palette generator →

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