#8236BC#8236BC

#8236BC is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.4% C 0.201 H 306.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8236BC
RGBrgb(130, 54, 188)
HSLhsl(274, 55%, 47%)
HSVhsv(274, 71%, 74%)
CMYKcmyk(30.9%, 71.3%, 0%, 26.3%)
CIE-LABlab(39.61, 55.72, -57.04)
CIE-LCHlch(39.61, 79.74, 314.33°)
OKLaboklab(50.41% 0.1191 -0.162)
OKLCHoklch(50.41% 0.201 306.3)
XYZxyz(19.6002, 11.0152, 48.6608)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8236BC #70BC36
analogous
#3F36BC #8236BC #BC36B3
triadic
#8236BC #BC8236 #36BC82
tetradic
#8236BC #BC3F36 #70BC36 #36B3BC
square
#8236BC #BC3F36 #70BC36 #36B3BC
split-complementary
#8236BC #B3BC36 #36BC3F
monochromatic
#401B5D #61288C #8236BC #9F5ED1 #BC8EDF

Accessibility & contrast

On white

6.56
#8236BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8236BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8236BC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8236BC#FFFFFF#000000##FFFFFF
##8236BC1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#785575
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8236bc;
/* rgb */ color: rgb(130, 54, 188);
/* oklch */ color: oklch(50.4% 0.201 306.3);
Tailwind
colors: {
  custom: {
    50: '#ab74d1',
    500: '#8236bc',
    950: '#000000',
  },
}
SCSS
$custom: #8236bc;
$custom-light: #ab74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8236bc",
  "rgb": {
    "r": 130,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 274.03,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50412,
    "c": 0.20105,
    "h": 306.3
  },
  "luminance": 0.11015
}

Semantic roles & 50–950 ramp

primary
#8236BC
secondary
#A2C985
accent
#DF498A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8236BC

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

Preview Lab → · Contrast checker → · Palette generator →

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