#8237BF#8237BF

#8237BF is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.7% C 0.203 H 305.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8237BF
RGBrgb(130, 55, 191)
HSLhsl(273, 55%, 48%)
HSVhsv(273, 71%, 75%)
CMYKcmyk(31.9%, 71.2%, 0%, 25.1%)
CIE-LABlab(39.98, 55.97, -58.19)
CIE-LCHlch(39.98, 80.73, 313.88°)
OKLaboklab(50.75% 0.1176 -0.1654)
OKLCHoklch(50.75% 0.203 305.4)
XYZxyz(19.9740, 11.2399, 50.3974)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237BF #74BF37
analogous
#3E37BF #8237BF #BF37B8
triadic
#8237BF #BF8237 #37BF82
tetradic
#8237BF #BF3E37 #74BF37 #37B8BF
square
#8237BF #BF3E37 #74BF37 #37B8BF
split-complementary
#8237BF #B8BF37 #37BF3E
monochromatic
#411C60 #62298F #8237BF #9F62D2 #BC91DF

Accessibility & contrast

On white

6.47
#8237BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8237BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237BF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237BF#FFFFFF#000000##FFFFFF
##8237BF1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#775777
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8237bf;
/* rgb */ color: rgb(130, 55, 191);
/* oklch */ color: oklch(50.7% 0.203 305.4);
Tailwind
colors: {
  custom: {
    50: '#ab74d3',
    500: '#8237bf',
    950: '#000000',
  },
}
SCSS
$custom: #8237bf;
$custom-light: #ab74d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8237bf",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 273.088,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50747,
    "c": 0.20291,
    "h": 305.4
  },
  "luminance": 0.1124
}

Semantic roles & 50–950 ramp

primary
#8237BF
secondary
#A5CA88
accent
#DF498C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8237BF

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

Preview Lab → · Contrast checker → · Palette generator →

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