#C845E6#C845E6

#C845E6 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.8% C 0.246 H 319.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#C845E6
RGBrgb(200, 69, 230)
HSLhsl(289, 76%, 59%)
HSVhsv(289, 70%, 90%)
CMYKcmyk(13%, 70%, 0%, 9.8%)
CIE-LABlab(54.29, 72.42, -57.01)
CIE-LCHlch(54.29, 92.17, 321.79°)
OKLaboklab(63.77% 0.1869 -0.1598)
OKLCHoklch(63.77% 0.246 319.5)
XYZxyz(40.2286, 22.2507, 77.0234)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845E6 #63E645
analogous
#7745E6 #C845E6 #E645B3
triadic
#C845E6 #E6C845 #45E6C8
tetradic
#C845E6 #E67745 #63E645 #45B3E6
square
#C845E6 #E67745 #63E645 #45B3E6
split-complementary
#C845E6 #B3E645 #45E677
monochromatic
#83159C #B01CD2 #C845E6 #D87BED #E8B1F5

Accessibility & contrast

On white

3.85
#C845E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#C845E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845E6
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845E6#FFFFFF#000000##000000
##C845E61.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#5186E2
Tritanopia (blue-blind)
#C86491
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c845e6;
/* rgb */ color: rgb(200, 69, 230);
/* oklch */ color: oklch(63.8% 0.246 319.5);
Tailwind
colors: {
  custom: {
    50: '#dd84ef',
    500: '#c845e6',
    950: '#000000',
  },
}
SCSS
$custom: #c845e6;
$custom-light: #dd84ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c845e6",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 288.82,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63771,
    "c": 0.2459,
    "h": 319.5
  },
  "luminance": 0.22249
}

Semantic roles & 50–950 ramp

primary
#C845E6
secondary
#AFE3A4
accent
#F33558
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #C845E6

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

Preview Lab → · Contrast checker → · Palette generator →

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