#C831B3#C831B3

#C831B3 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.2% C 0.228 H 334.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C831B3
RGBrgb(200, 49, 179)
HSLhsl(308, 61%, 49%)
HSVhsv(308, 76%, 78%)
CMYKcmyk(0%, 75.5%, 10.5%, 21.6%)
CIE-LABlab(49.17, 70.70, -35.86)
CIE-LCHlch(49.17, 79.28, 333.11°)
OKLaboklab(59.21% 0.2058 -0.0982)
OKLCHoklch(59.21% 0.228 334.5)
XYZxyz(33.0548, 17.7336, 44.3211)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831B3 #31C846
analogous
#9231C8 #C831B3 #C83168
triadic
#C831B3 #B3C831 #31B3C8
tetradic
#C831B3 #C89231 #31C846 #3168C8
square
#C831B3 #C89231 #31C846 #3168C8
split-complementary
#C831B3 #68C831 #31C892
monochromatic
#66195B #972587 #C831B3 #D85FC7 #E490D8

Accessibility & contrast

On white

4.62
#C831B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C831B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C831B3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831B3#FFFFFF#000000##FFFFFF
##C831B31.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F67B6
Deuteranopia (green-blind)
#677DAF
Tritanopia (blue-blind)
#D23F70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c831b3;
/* rgb */ color: rgb(200, 49, 179);
/* oklch */ color: oklch(59.2% 0.228 334.5);
Tailwind
colors: {
  custom: {
    50: '#dd79ca',
    500: '#c831b3',
    950: '#000000',
  },
}
SCSS
$custom: #c831b3;
$custom-light: #dd79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c831b3",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 308.344,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59207,
    "c": 0.22804,
    "h": 334.5
  },
  "luminance": 0.17731
}

Semantic roles & 50–950 ramp

primary
#C831B3
secondary
#86CE90
accent
#E45A44
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C831B3

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

Preview Lab → · Contrast checker → · Palette generator →

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