#8236BB#8236BB

#8236BB is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.3% C 0.200 H 306.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8236BB
RGBrgb(130, 54, 187)
HSLhsl(274, 55%, 47%)
HSVhsv(274, 71%, 73%)
CMYKcmyk(30.5%, 71.1%, 0%, 26.7%)
CIE-LABlab(39.53, 55.49, -56.57)
CIE-LCHlch(39.53, 79.24, 314.45°)
OKLaboklab(50.34% 0.1192 -0.1606)
OKLCHoklch(50.34% 0.2 306.6)
XYZxyz(19.4928, 10.9722, 48.0950)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8236BB #6FBB36
analogous
#4036BB #8236BB #BB36B2
triadic
#8236BB #BB8236 #36BB82
tetradic
#8236BB #BB4036 #6FBB36 #36B2BB
square
#8236BB #BB4036 #6FBB36 #36B2BB
split-complementary
#8236BB #B2BB36 #36BB40
monochromatic
#401B5C #61288C #8236BB #9F5ED0 #BB8DDE

Accessibility & contrast

On white

6.57
#8236BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8236BB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8236BB#FFFFFF#000000##FFFFFF
##8236BB1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#025EB8
Tritanopia (blue-blind)
#785575
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8236bb;
/* rgb */ color: rgb(130, 54, 187);
/* oklch */ color: oklch(50.3% 0.200 306.6);
Tailwind
colors: {
  custom: {
    50: '#ab74d0',
    500: '#8236bb',
    950: '#000000',
  },
}
SCSS
$custom: #8236bb;
$custom-light: #ab74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8236bb",
  "rgb": {
    "r": 130,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 274.286,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50337,
    "c": 0.20002,
    "h": 306.6
  },
  "luminance": 0.10972
}

Semantic roles & 50–950 ramp

primary
#8236BB
secondary
#A2C984
accent
#DF4989
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8236BB

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

Preview Lab → · Contrast checker → · Palette generator →

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