#8237B2#8237B2

#8237B2 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.190 H 309.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8237B2
RGBrgb(130, 55, 178)
HSLhsl(277, 53%, 46%)
HSVhsv(277, 69%, 70%)
CMYKcmyk(27%, 69.1%, 0%, 30.2%)
CIE-LABlab(39.06, 53.00, -52.03)
CIE-LCHlch(39.06, 74.27, 315.53°)
OKLaboklab(49.8% 0.1194 -0.1473)
OKLCHoklch(49.8% 0.19 309)
XYZxyz(18.6064, 10.6929, 43.1946)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237B2 #67B237
analogous
#4437B2 #8237B2 #B237A5
triadic
#8237B2 #B28237 #37B282
tetradic
#8237B2 #B24437 #67B237 #37A5B2
square
#8237B2 #B24437 #67B237 #37A5B2
split-complementary
#8237B2 #A5B237 #37B244
monochromatic
#3E1A54 #602983 #8237B2 #A05ACC #BB89DB

Accessibility & contrast

On white

6.69
#8237B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8237B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237B2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237B2#FFFFFF#000000##FFFFFF
##8237B21.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#1F5DAF
Tritanopia (blue-blind)
#7B5270
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8237b2;
/* rgb */ color: rgb(130, 55, 178);
/* oklch */ color: oklch(49.8% 0.190 309.0);
Tailwind
colors: {
  custom: {
    50: '#aa74ca',
    500: '#8237b2',
    950: '#000000',
  },
}
SCSS
$custom: #8237b2;
$custom-light: #aa74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8237b2",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 276.585,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49797,
    "c": 0.18958,
    "h": 309
  },
  "luminance": 0.10693
}

Semantic roles & 50–950 ramp

primary
#8237B2
secondary
#9BC580
accent
#DC4C84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8237B2

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

Preview Lab → · Contrast checker → · Palette generator →

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