#8237BA#8237BA

#8237BA is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.4% C 0.198 H 306.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8237BA
RGBrgb(130, 55, 186)
HSLhsl(274, 54%, 47%)
HSVhsv(274, 70%, 73%)
CMYKcmyk(30.1%, 70.4%, 0%, 27.1%)
CIE-LABlab(39.62, 54.82, -55.84)
CIE-LCHlch(39.62, 78.25, 314.47°)
OKLaboklab(50.38% 0.1184 -0.1585)
OKLCHoklch(50.38% 0.198 306.8)
XYZxyz(19.4331, 11.0236, 47.5489)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237BA #6FBA37
analogous
#4037BA #8237BA #BA37B1
triadic
#8237BA #BA8237 #37BA82
tetradic
#8237BA #BA4037 #6FBA37 #37B1BA
square
#8237BA #BA4037 #6FBA37 #37B1BA
split-complementary
#8237BA #B1BA37 #37BA40
monochromatic
#401B5C #61298B #8237BA #9F5FD0 #BB8EDE

Accessibility & contrast

On white

6.55
#8237BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8237BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237BA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237BA#FFFFFF#000000##FFFFFF
##8237BA1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0A5EB7
Tritanopia (blue-blind)
#795575
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8237ba;
/* rgb */ color: rgb(130, 55, 186);
/* oklch */ color: oklch(50.4% 0.198 306.8);
Tailwind
colors: {
  custom: {
    50: '#ab74d0',
    500: '#8237ba',
    950: '#000000',
  },
}
SCSS
$custom: #8237ba;
$custom-light: #ab74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8237ba",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 274.351,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50376,
    "c": 0.19778,
    "h": 306.8
  },
  "luminance": 0.11023
}

Semantic roles & 50–950 ramp

primary
#8237BA
secondary
#A2C885
accent
#DE4A89
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8237BA

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

Preview Lab → · Contrast checker → · Palette generator →

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