#8232B2#8232B2

#8232B2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.2% C 0.196 H 309.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8232B2
RGBrgb(130, 50, 178)
HSLhsl(278, 56%, 45%)
HSVhsv(278, 72%, 70%)
CMYKcmyk(27%, 71.9%, 0%, 30.2%)
CIE-LABlab(38.27, 55.21, -53.30)
CIE-LCHlch(38.27, 76.74, 316.01°)
OKLaboklab(49.24% 0.1247 -0.151)
OKLCHoklch(49.24% 0.196 309.5)
XYZxyz(18.3808, 10.2417, 43.1194)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8232B2 #62B232
analogous
#4232B2 #8232B2 #B232A2
triadic
#8232B2 #B28232 #32B282
tetradic
#8232B2 #B24232 #62B232 #32A2B2
square
#8232B2 #B24232 #62B232 #32A2B2
split-complementary
#8232B2 #A2B232 #32B242
monochromatic
#3C1752 #5F2582 #8232B2 #A053CF #BA82DC

Accessibility & contrast

On white

6.89
#8232B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8232B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8232B2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8232B2#FFFFFF#000000##FFFFFF
##8232B21.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#165BAF
Tritanopia (blue-blind)
#7B4F6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8232b2;
/* rgb */ color: rgb(130, 50, 178);
/* oklch */ color: oklch(49.2% 0.196 309.5);
Tailwind
colors: {
  custom: {
    50: '#ab71ca',
    500: '#8232b2',
    950: '#000000',
  },
}
SCSS
$custom: #8232b2;
$custom-light: #ab71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8232b2",
  "rgb": {
    "r": 130,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 277.5,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49238,
    "c": 0.19577,
    "h": 309.5
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

primary
#8232B2
secondary
#97C57B
accent
#DF4881
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8232B2

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

Preview Lab → · Contrast checker → · Palette generator →

#8232B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva