#8236B8#8236B8

#8236B8 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.1% C 0.197 H 307.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8236B8
RGBrgb(130, 54, 184)
HSLhsl(275, 55%, 47%)
HSVhsv(275, 71%, 72%)
CMYKcmyk(29.3%, 70.7%, 0%, 27.8%)
CIE-LABlab(39.32, 54.81, -55.15)
CIE-LCHlch(39.32, 77.75, 314.82°)
OKLaboklab(50.12% 0.1197 -0.1564)
OKLCHoklch(50.12% 0.197 307.4)
XYZxyz(19.1750, 10.8451, 46.4213)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8236B8 #6CB836
analogous
#4136B8 #8236B8 #B836AD
triadic
#8236B8 #B88236 #36B882
tetradic
#8236B8 #B84136 #6CB836 #36ADB8
square
#8236B8 #B84136 #6CB836 #36ADB8
split-complementary
#8236B8 #ADB836 #36B841
monochromatic
#3F1A59 #612889 #8236B8 #9F5CCF #BB8BDD

Accessibility & contrast

On white

6.63
#8236B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8236B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8236B8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8236B8#FFFFFF#000000##FFFFFF
##8236B81.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#0E5DB5
Tritanopia (blue-blind)
#795473
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8236b8;
/* rgb */ color: rgb(130, 54, 184);
/* oklch */ color: oklch(50.1% 0.197 307.4);
Tailwind
colors: {
  custom: {
    50: '#ab73ce',
    500: '#8236b8',
    950: '#000000',
  },
}
SCSS
$custom: #8236b8;
$custom-light: #ab73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8236b8",
  "rgb": {
    "r": 130,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 275.077,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50116,
    "c": 0.19697,
    "h": 307.4
  },
  "luminance": 0.10845
}

Semantic roles & 50–950 ramp

primary
#8236B8
secondary
#9FC782
accent
#DE4A87
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8236B8

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

Preview Lab → · Contrast checker → · Palette generator →

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