#8237B3#8237B3

#8237B3 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.9% C 0.191 H 308.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8237B3
RGBrgb(130, 55, 179)
HSLhsl(276, 53%, 46%)
HSVhsv(276, 69%, 70%)
CMYKcmyk(27.4%, 69.3%, 0%, 29.8%)
CIE-LABlab(39.13, 53.23, -52.51)
CIE-LCHlch(39.13, 74.77, 315.39°)
OKLaboklab(49.87% 0.1193 -0.1487)
OKLCHoklch(49.87% 0.191 308.7)
XYZxyz(18.7071, 10.7332, 43.7253)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237B3 #68B337
analogous
#4437B3 #8237B3 #B337A6
triadic
#8237B3 #B38237 #37B382
tetradic
#8237B3 #B34437 #68B337 #37A6B3
square
#8237B3 #B34437 #68B337 #37A6B3
split-complementary
#8237B3 #A6B337 #37B344
monochromatic
#3E1A55 #602984 #8237B3 #A05BCD #BB8ADB

Accessibility & contrast

On white

6.67
#8237B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8237B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237B3
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237B3#FFFFFF#000000##FFFFFF
##8237B31.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#1D5DB0
Tritanopia (blue-blind)
#7B5271
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8237b3;
/* rgb */ color: rgb(130, 55, 179);
/* oklch */ color: oklch(49.9% 0.191 308.7);
Tailwind
colors: {
  custom: {
    50: '#aa74ca',
    500: '#8237b3',
    950: '#000000',
  },
}
SCSS
$custom: #8237b3;
$custom-light: #aa74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8237b3",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 276.29,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49869,
    "c": 0.19061,
    "h": 308.7
  },
  "luminance": 0.10733
}

Semantic roles & 50–950 ramp

primary
#8237B3
secondary
#9CC581
accent
#DC4B85
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8237B3

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

Preview Lab → · Contrast checker → · Palette generator →

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