#C848E7#C848E7

#C848E7 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.1% C 0.243 H 319.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C848E7
RGBrgb(200, 72, 231)
HSLhsl(288, 77%, 59%)
HSVhsv(288, 69%, 91%)
CMYKcmyk(13.4%, 68.8%, 0%, 9.4%)
CIE-LABlab(54.75, 71.49, -56.85)
CIE-LCHlch(54.75, 91.33, 321.51°)
OKLaboklab(64.11% 0.1839 -0.1593)
OKLCHoklch(64.11% 0.243 319.1)
XYZxyz(40.5587, 22.6855, 77.8282)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C848E7 #67E748
analogous
#7948E7 #C848E7 #E748B7
triadic
#C848E7 #E7C848 #48E7C8
tetradic
#C848E7 #E77948 #67E748 #48B7E7
square
#C848E7 #E77948 #67E748 #48B7E7
split-complementary
#C848E7 #B7E748 #48E779
monochromatic
#8515A0 #B21CD6 #C848E7 #D87EEE #E9B4F5

Accessibility & contrast

On white

3.79
#C848E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#C848E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C848E7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C848E7#FFFFFF#000000##000000
##C848E71.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#5387E3
Tritanopia (blue-blind)
#C86693
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c848e7;
/* rgb */ color: rgb(200, 72, 231);
/* oklch */ color: oklch(64.1% 0.243 319.1);
Tailwind
colors: {
  custom: {
    50: '#dd85ef',
    500: '#c848e7',
    950: '#000000',
  },
}
SCSS
$custom: #c848e7;
$custom-light: #dd85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c848e7",
  "rgb": {
    "r": 200,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 288.302,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64115,
    "c": 0.24331,
    "h": 319.1
  },
  "luminance": 0.22684
}

Semantic roles & 50–950 ramp

primary
#C848E7
secondary
#B3E4A6
accent
#F3345A
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #C848E7

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

Preview Lab → · Contrast checker → · Palette generator →

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