#8236C4#8236C4

#8236C4 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.209 H 304.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8236C4
RGBrgb(130, 54, 196)
HSLhsl(272, 57%, 49%)
HSVhsv(272, 72%, 77%)
CMYKcmyk(33.7%, 72.4%, 0%, 23.1%)
CIE-LABlab(40.20, 57.56, -60.76)
CIE-LCHlch(40.20, 83.70, 313.45°)
OKLaboklab(51.02% 0.1177 -0.1729)
OKLCHoklch(51.02% 0.209 304.2)
XYZxyz(20.4866, 11.3698, 53.3291)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8236C4 #78C436
analogous
#3B36C4 #8236C4 #C436BF
triadic
#8236C4 #C48236 #36C482
tetradic
#8236C4 #C43B36 #78C436 #36BFC4
square
#8236C4 #C43B36 #78C436 #36BFC4
split-complementary
#8236C4 #BFC436 #36C43B
monochromatic
#421C64 #622994 #8236C4 #A063D4 #BD93E1

Accessibility & contrast

On white

6.41
#8236C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8236C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8236C4
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8236C4#FFFFFF#000000##FFFFFF
##8236C41.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#75587A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8236c4;
/* rgb */ color: rgb(130, 54, 196);
/* oklch */ color: oklch(51.0% 0.209 304.2);
Tailwind
colors: {
  custom: {
    50: '#ac74d7',
    500: '#8236c4',
    950: '#000000',
  },
}
SCSS
$custom: #8236c4;
$custom-light: #ac74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8236c4",
  "rgb": {
    "r": 130,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 272.113,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51016,
    "c": 0.20919,
    "h": 304.2
  },
  "luminance": 0.1137
}

Semantic roles & 50–950 ramp

primary
#8236C4
secondary
#A9CC89
accent
#E0488F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8236C4

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

Preview Lab → · Contrast checker → · Palette generator →

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