#C831C8#C831C8

#C831C8 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.4% C 0.243 H 328.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C831C8
RGBrgb(200, 49, 200)
HSLhsl(300, 61%, 49%)
HSVhsv(300, 76%, 78%)
CMYKcmyk(0%, 75.5%, 0%, 21.6%)
CIE-LABlab(50.27, 73.89, -46.33)
CIE-LCHlch(50.27, 87.21, 327.91°)
OKLaboklab(60.35% 0.2062 -0.1285)
OKLCHoklch(60.35% 0.243 328.1)
XYZxyz(35.3426, 18.6487, 56.3705)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831C8 #31C831
analogous
#7D31C8 #C831C8 #C8317D
triadic
#C831C8 #C8C831 #31C8C8
tetradic
#C831C8 #C87D31 #31C831 #317DC8
square
#C831C8 #C87D31 #31C831 #317DC8
split-complementary
#C831C8 #7DC831 #31C87D
monochromatic
#661966 #972597 #C831C8 #D85FD8 #E490E4

Accessibility & contrast

On white

4.44
#C831C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#C831C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C831C8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831C8#FFFFFF#000000##000000
##C831C81.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#066BCC
Deuteranopia (green-blind)
#5C7EC4
Tritanopia (blue-blind)
#CE4A7B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c831c8;
/* rgb */ color: rgb(200, 49, 200);
/* oklch */ color: oklch(60.4% 0.243 328.1);
Tailwind
colors: {
  custom: {
    50: '#dd7ad9',
    500: '#c831c8',
    950: '#000000',
  },
}
SCSS
$custom: #c831c8;
$custom-light: #dd7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#c831c8",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 300,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60352,
    "c": 0.24296,
    "h": 328.1
  },
  "luminance": 0.18646
}

Semantic roles & 50–950 ramp

primary
#C831C8
secondary
#86CE86
accent
#E44444
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A15
muted
#847C83

Preview Lab

Preview with #C831C8

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

Preview Lab → · Contrast checker → · Palette generator →

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