#C831CF#C831CF

#C831CF is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.8% C 0.248 H 326.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C831CF
RGBrgb(200, 49, 207)
HSLhsl(297, 62%, 50%)
HSVhsv(297, 76%, 81%)
CMYKcmyk(3.4%, 76.3%, 0%, 18.8%)
CIE-LABlab(50.67, 75.00, -49.73)
CIE-LCHlch(50.67, 89.99, 326.45°)
OKLaboklab(60.76% 0.206 -0.1384)
OKLCHoklch(60.76% 0.248 326.1)
XYZxyz(36.1795, 18.9835, 60.7780)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831CF #38CF31
analogous
#7931CF #C831CF #CF3187
triadic
#C831CF #CFC831 #31CFC8
tetradic
#C831CF #CF7931 #38CF31 #3187CF
square
#C831CF #CF7931 #38CF31 #3187CF
split-complementary
#C831CF #87CF31 #31CF79
monochromatic
#69196C #99259E #C831CF #D563DB #E394E6

Accessibility & contrast

On white

4.38
#C831CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#C831CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C831CF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831CF#FFFFFF#000000##000000
##C831CF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#577FCB
Tritanopia (blue-blind)
#CD4E7F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c831cf;
/* rgb */ color: rgb(200, 49, 207);
/* oklch */ color: oklch(60.8% 0.248 326.1);
Tailwind
colors: {
  custom: {
    50: '#dd7ade',
    500: '#c831cf',
    950: '#000000',
  },
}
SCSS
$custom: #c831cf;
$custom-light: #dd7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#c831cf",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 207
  },
  "hsl": {
    "h": 297.342,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60759,
    "c": 0.24813,
    "h": 326.1
  },
  "luminance": 0.18981
}

Semantic roles & 50–950 ramp

primary
#C831CF
secondary
#8ED18B
accent
#E5434A
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160A15
muted
#847C83

Preview Lab

Preview with #C831CF

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

Preview Lab → · Contrast checker → · Palette generator →

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