#C948EE#C948EE

#C948EE is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.7% C 0.250 H 317.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#C948EE
RGBrgb(201, 72, 238)
HSLhsl(287, 83%, 61%)
HSVhsv(287, 70%, 93%)
CMYKcmyk(15.5%, 69.7%, 0%, 6.7%)
CIE-LABlab(55.31, 72.99, -59.87)
CIE-LCHlch(55.31, 94.40, 320.64°)
OKLaboklab(64.68% 0.1846 -0.1681)
OKLCHoklch(64.68% 0.25 317.7)
XYZxyz(41.8352, 23.2271, 83.1520)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C948EE #6DEE48
analogous
#7648EE #C948EE #EE48C0
triadic
#C948EE #EEC948 #48EEC9
tetradic
#C948EE #EE7648 #6DEE48 #48C0EE
square
#C948EE #EE7648 #6DEE48 #48C0EE
split-complementary
#C948EE #C0EE48 #48EE76
monochromatic
#8910AC #B615E4 #C948EE #DA80F3 #EAB8F8

Accessibility & contrast

On white

3.72
#C948EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#C948EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C948EE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C948EE#FFFFFF#000000##000000
##C948EE1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#4E88EA
Tritanopia (blue-blind)
#C86997
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c948ee;
/* rgb */ color: rgb(201, 72, 238);
/* oklch */ color: oklch(64.7% 0.250 317.7);
Tailwind
colors: {
  custom: {
    50: '#de86f4',
    500: '#c948ee',
    950: '#000000',
  },
}
SCSS
$custom: #c948ee;
$custom-light: #de86f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c948ee",
  "rgb": {
    "r": 201,
    "g": 72,
    "b": 238
  },
  "hsl": {
    "h": 286.627,
    "s": 83,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64676,
    "c": 0.2497,
    "h": 317.7
  },
  "luminance": 0.23225
}

Semantic roles & 50–950 ramp

primary
#C948EE
secondary
#B7E8A9
accent
#DF0637
background
#FEF8FF
surface
#FCF0FE
border
#D5CBD6
text
#160C17
muted
#847D85

Preview Lab

Preview with #C948EE

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

Preview Lab → · Contrast checker → · Palette generator →

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