#C845E2#C845E2

#C845E2 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.5% C 0.243 H 320.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#C845E2
RGBrgb(200, 69, 226)
HSLhsl(290, 73%, 58%)
HSVhsv(290, 69%, 89%)
CMYKcmyk(11.5%, 69.5%, 0%, 11.4%)
CIE-LABlab(54.06, 71.70, -55.13)
CIE-LCHlch(54.06, 90.45, 322.44°)
OKLaboklab(63.53% 0.1872 -0.1543)
OKLCHoklch(63.53% 0.243 320.5)
XYZxyz(39.6734, 22.0286, 74.0990)
Luminance0.2203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845E2 #5FE245
analogous
#7A45E2 #C845E2 #E245AD
triadic
#C845E2 #E2C845 #45E2C8
tetradic
#C845E2 #E27A45 #5FE245 #45ADE2
square
#C845E2 #E27A45 #5FE245 #45ADE2
split-complementary
#C845E2 #ADE245 #45E27A
monochromatic
#801795 #AE20CA #C845E2 #D87AEA #E7AFF3

Accessibility & contrast

On white

3.89
#C845E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#C845E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845E2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845E2#FFFFFF#000000##000000
##C845E21.003.895.415.41
#FFFFFF3.891.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#5586DE
Tritanopia (blue-blind)
#C9628F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c845e2;
/* rgb */ color: rgb(200, 69, 226);
/* oklch */ color: oklch(63.5% 0.243 320.5);
Tailwind
colors: {
  custom: {
    50: '#dd84ec',
    500: '#c845e2',
    950: '#000000',
  },
}
SCSS
$custom: #c845e2;
$custom-light: #dd84ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c845e2",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 290.064,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63528,
    "c": 0.24254,
    "h": 320.5
  },
  "luminance": 0.22027
}

Semantic roles & 50–950 ramp

primary
#C845E2
secondary
#ACE1A2
accent
#F03856
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #C845E2

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

Preview Lab → · Contrast checker → · Palette generator →

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