#8236BA#8236BA

#8236BA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.3% C 0.199 H 306.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8236BA
RGBrgb(130, 54, 186)
HSLhsl(275, 55%, 47%)
HSVhsv(275, 71%, 73%)
CMYKcmyk(30.1%, 71%, 0%, 27.1%)
CIE-LABlab(39.46, 55.26, -56.10)
CIE-LCHlch(39.46, 78.74, 314.57°)
OKLaboklab(50.26% 0.1194 -0.1592)
OKLCHoklch(50.26% 0.199 306.9)
XYZxyz(19.3861, 10.9296, 47.5332)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8236BA #6EBA36
analogous
#4036BA #8236BA #BA36B0
triadic
#8236BA #BA8236 #36BA82
tetradic
#8236BA #BA4036 #6EBA36 #36B0BA
square
#8236BA #BA4036 #6EBA36 #36B0BA
split-complementary
#8236BA #B0BA36 #36BA40
monochromatic
#401A5B #61288B #8236BA #9F5DD0 #BB8DDE

Accessibility & contrast

On white

6.59
#8236BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8236BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8236BA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8236BA#FFFFFF#000000##FFFFFF
##8236BA1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#065DB7
Tritanopia (blue-blind)
#795474
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8236ba;
/* rgb */ color: rgb(130, 54, 186);
/* oklch */ color: oklch(50.3% 0.199 306.9);
Tailwind
colors: {
  custom: {
    50: '#ab73d0',
    500: '#8236ba',
    950: '#000000',
  },
}
SCSS
$custom: #8236ba;
$custom-light: #ab73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8236ba",
  "rgb": {
    "r": 130,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 274.545,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50263,
    "c": 0.199,
    "h": 306.9
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#8236BA
secondary
#A1C884
accent
#DE4989
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8236BA

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

Preview Lab → · Contrast checker → · Palette generator →

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