#832ECC#832ECC

#832ECC is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 51.0% C 0.226 H 303.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#832ECC
RGBrgb(131, 46, 204)
HSLhsl(272, 63%, 49%)
HSVhsv(272, 77%, 80%)
CMYKcmyk(35.8%, 77.5%, 0%, 20%)
CIE-LABlab(39.81, 62.81, -66.03)
CIE-LCHlch(39.81, 91.14, 313.57°)
OKLaboklab(50.97% 0.1244 -0.1883)
OKLCHoklch(50.97% 0.226 303.5)
XYZxyz(21.2336, 11.1389, 58.1464)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832ECC #77CC2E
analogous
#342ECC #832ECC #CC2EC6
triadic
#832ECC #CC832E #2ECC83
tetradic
#832ECC #CC342E #77CC2E #2EC6CC
square
#832ECC #CC342E #77CC2E #2EC6CC
split-complementary
#832ECC #C6CC2E #2ECC34
monochromatic
#431768 #63239A #832ECC #A05DDA #BE8FE6

Accessibility & contrast

On white

6.51
#832ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#832ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #832ECC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832ECC#FFFFFF#000000##FFFFFF
##832ECC1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#74587D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #832ecc;
/* rgb */ color: rgb(131, 46, 204);
/* oklch */ color: oklch(51.0% 0.226 303.5);
Tailwind
colors: {
  custom: {
    50: '#ae70dd',
    500: '#832ecc',
    950: '#000000',
  },
}
SCSS
$custom: #832ecc;
$custom-light: #ae70dd;
$custom-dark: #000000;
JSON
{
  "hex": "#832ecc",
  "rgb": {
    "r": 131,
    "g": 46,
    "b": 204
  },
  "hsl": {
    "h": 272.278,
    "s": 63.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.22572,
    "h": 303.5
  },
  "luminance": 0.11139
}

Semantic roles & 50–950 ramp

primary
#832ECC
secondary
#A8D086
accent
#E6428E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #832ECC

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

Preview Lab → · Contrast checker → · Palette generator →

#832ECC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva