#8237B7#8237B7

#8237B7 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.2% C 0.195 H 307.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8237B7
RGBrgb(130, 55, 183)
HSLhsl(275, 54%, 47%)
HSVhsv(275, 70%, 72%)
CMYKcmyk(29%, 69.9%, 0%, 28.2%)
CIE-LABlab(39.41, 54.13, -54.42)
CIE-LCHlch(39.41, 76.76, 314.85°)
OKLaboklab(50.16% 0.1188 -0.1543)
OKLCHoklch(50.16% 0.195 307.6)
XYZxyz(19.1176, 10.8974, 45.8868)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237B7 #6CB737
analogous
#4237B7 #8237B7 #B737AC
triadic
#8237B7 #B78237 #37B782
tetradic
#8237B7 #B74237 #6CB737 #37ACB7
square
#8237B7 #B74237 #6CB737 #37ACB7
split-complementary
#8237B7 #ACB737 #37B742
monochromatic
#3F1B59 #612988 #8237B7 #9F5DCE #BB8CDC

Accessibility & contrast

On white

6.61
#8237B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8237B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237B7
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237B7#FFFFFF#000000##FFFFFF
##8237B71.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#145DB4
Tritanopia (blue-blind)
#795473
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8237b7;
/* rgb */ color: rgb(130, 55, 183);
/* oklch */ color: oklch(50.2% 0.195 307.6);
Tailwind
colors: {
  custom: {
    50: '#ab74cd',
    500: '#8237b7',
    950: '#000000',
  },
}
SCSS
$custom: #8237b7;
$custom-light: #ab74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8237b7",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 275.156,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50157,
    "c": 0.19471,
    "h": 307.6
  },
  "luminance": 0.10897
}

Semantic roles & 50–950 ramp

primary
#8237B7
secondary
#9FC783
accent
#DD4B87
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8237B7

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

Preview Lab → · Contrast checker → · Palette generator →

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