#8237BD#8237BD

#8237BD is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.201 H 305.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8237BD
RGBrgb(130, 55, 189)
HSLhsl(274, 55%, 48%)
HSVhsv(274, 71%, 74%)
CMYKcmyk(31.2%, 70.9%, 0%, 25.9%)
CIE-LABlab(39.84, 55.50, -57.25)
CIE-LCHlch(39.84, 79.74, 314.11°)
OKLaboklab(50.6% 0.1179 -0.1626)
OKLCHoklch(50.6% 0.201 305.9)
XYZxyz(19.7554, 11.1525, 49.2462)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237BD #72BD37
analogous
#3F37BD #8237BD #BD37B5
triadic
#8237BD #BD8237 #37BD82
tetradic
#8237BD #BD3F37 #72BD37 #37B5BD
square
#8237BD #BD3F37 #72BD37 #37B5BD
split-complementary
#8237BD #B5BD37 #37BD3F
monochromatic
#411B5E #61298E #8237BD #9F60D1 #BC90DF

Accessibility & contrast

On white

6.50
#8237BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8237BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237BD
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237BD#FFFFFF#000000##FFFFFF
##8237BD1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#785676
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8237bd;
/* rgb */ color: rgb(130, 55, 189);
/* oklch */ color: oklch(50.6% 0.201 305.9);
Tailwind
colors: {
  custom: {
    50: '#ab74d2',
    500: '#8237bd',
    950: '#000000',
  },
}
SCSS
$custom: #8237bd;
$custom-light: #ab74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8237bd",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 273.582,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50598,
    "c": 0.20087,
    "h": 305.9
  },
  "luminance": 0.11152
}

Semantic roles & 50–950 ramp

primary
#8237BD
secondary
#A4C986
accent
#DE4A8B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8237BD

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

Preview Lab → · Contrast checker → · Palette generator →

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