#8236BD#8236BD

#8236BD is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.202 H 306.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8236BD
RGBrgb(130, 54, 189)
HSLhsl(274, 56%, 48%)
HSVhsv(274, 71%, 74%)
CMYKcmyk(31.2%, 71.4%, 0%, 25.9%)
CIE-LABlab(39.68, 55.95, -57.51)
CIE-LCHlch(39.68, 80.23, 314.21°)
OKLaboklab(50.49% 0.1189 -0.1634)
OKLCHoklch(50.49% 0.202 306.1)
XYZxyz(19.7084, 11.0585, 49.2305)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8236BD #71BD36
analogous
#3E36BD #8236BD #BD36B4
triadic
#8236BD #BD8236 #36BD82
tetradic
#8236BD #BD3E36 #71BD36 #36B4BD
square
#8236BD #BD3E36 #71BD36 #36B4BD
split-complementary
#8236BD #B4BD36 #36BD3E
monochromatic
#411B5E #61288D #8236BD #9F5FD1 #BC8FDF

Accessibility & contrast

On white

6.54
#8236BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8236BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8236BD
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8236BD#FFFFFF#000000##FFFFFF
##8236BD1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#785576
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8236bd;
/* rgb */ color: rgb(130, 54, 189);
/* oklch */ color: oklch(50.5% 0.202 306.1);
Tailwind
colors: {
  custom: {
    50: '#ab74d2',
    500: '#8236bd',
    950: '#000000',
  },
}
SCSS
$custom: #8236bd;
$custom-light: #ab74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8236bd",
  "rgb": {
    "r": 130,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 273.778,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50486,
    "c": 0.20207,
    "h": 306.1
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#8236BD
secondary
#A3C985
accent
#DF498A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8236BD

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

Preview Lab → · Contrast checker → · Palette generator →

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