#8236AF#8236AF

#8236AF is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.188 H 310.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8236AF
RGBrgb(130, 54, 175)
HSLhsl(278, 53%, 45%)
HSVhsv(278, 69%, 69%)
CMYKcmyk(25.7%, 69.1%, 0%, 31.4%)
CIE-LABlab(38.69, 52.78, -50.84)
CIE-LCHlch(38.69, 73.29, 316.07°)
OKLaboklab(49.47% 0.1208 -0.1438)
OKLCHoklch(49.47% 0.188 310)
XYZxyz(18.2614, 10.4797, 41.6099)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8236AF #63AF36
analogous
#4636AF #8236AF #AF369F
triadic
#8236AF #AF8236 #36AF82
tetradic
#8236AF #AF4636 #63AF36 #369FAF
square
#8236AF #AF4636 #63AF36 #369FAF
split-complementary
#8236AF #9FAF36 #36AF46
monochromatic
#3D1951 #5F2880 #8236AF #A057CB #BA86DA

Accessibility & contrast

On white

6.78
#8236AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8236AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8236AF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8236AF#FFFFFF#000000##FFFFFF
##8236AF1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#225CAC
Tritanopia (blue-blind)
#7C506E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8236af;
/* rgb */ color: rgb(130, 54, 175);
/* oklch */ color: oklch(49.5% 0.188 310.0);
Tailwind
colors: {
  custom: {
    50: '#aa73c8',
    500: '#8236af',
    950: '#000000',
  },
}
SCSS
$custom: #8236af;
$custom-light: #aa73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8236af",
  "rgb": {
    "r": 130,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 277.686,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49469,
    "c": 0.18779,
    "h": 310
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

primary
#8236AF
secondary
#97C37D
accent
#DC4C81
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8236AF

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

Preview Lab → · Contrast checker → · Palette generator →

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