#C831E2#C831E2

#C831E2 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.9% C 0.262 H 321.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C831E2
RGBrgb(200, 49, 226)
HSLhsl(291, 75%, 54%)
HSVhsv(291, 78%, 89%)
CMYKcmyk(11.5%, 78.3%, 0%, 11.4%)
CIE-LABlab(51.80, 78.16, -58.75)
CIE-LCHlch(51.80, 97.78, 323.07°)
OKLaboklab(61.93% 0.2044 -0.1647)
OKLCHoklch(61.93% 0.262 321.1)
XYZxyz(38.6436, 19.9691, 73.7557)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831E2 #4BE231
analogous
#7031E2 #C831E2 #E231A4
triadic
#C831E2 #E2C831 #31E2C8
tetradic
#C831E2 #E27031 #4BE231 #31A4E2
square
#C831E2 #E27031 #4BE231 #31A4E2
split-complementary
#C831E2 #A4E231 #31E270
monochromatic
#751386 #A41ABB #C831E2 #D667EA #E59CF1

Accessibility & contrast

On white

4.21
#C831E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#C831E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C831E2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831E2#FFFFFF#000000##000000
##C831E21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#4881DE
Tritanopia (blue-blind)
#C9578A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c831e2;
/* rgb */ color: rgb(200, 49, 226);
/* oklch */ color: oklch(61.9% 0.262 321.1);
Tailwind
colors: {
  custom: {
    50: '#dd7bec',
    500: '#c831e2',
    950: '#000000',
  },
}
SCSS
$custom: #c831e2;
$custom-light: #dd7bec;
$custom-dark: #000000;
JSON
{
  "hex": "#c831e2",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 291.186,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61925,
    "c": 0.26249,
    "h": 321.1
  },
  "luminance": 0.19967
}

Semantic roles & 50–950 ramp

primary
#C831E2
secondary
#9DDD92
accent
#F23652
background
#FEF8FE
surface
#FCEFFD
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #C831E2

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

Preview Lab → · Contrast checker → · Palette generator →

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