#7836AF#7836AF

#7836AF is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.185 H 305.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7836AF
RGBrgb(120, 54, 175)
HSLhsl(273, 53%, 45%)
HSVhsv(273, 69%, 69%)
CMYKcmyk(31.4%, 69.1%, 0%, 31.4%)
CIE-LABlab(37.35, 50.66, -53.08)
CIE-LCHlch(37.35, 73.38, 313.67°)
OKLaboklab(48.22% 0.1073 -0.1507)
OKLCHoklch(48.22% 0.185 305.5)
XYZxyz(16.8011, 9.7267, 41.5415)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7836AF #6DAF36
analogous
#3B36AF #7836AF #AF36AA
triadic
#7836AF #AF7836 #36AF78
tetradic
#7836AF #AF3B36 #6DAF36 #36AAAF
square
#7836AF #AF3B36 #6DAF36 #36AAAF
split-complementary
#7836AF #AAAF36 #36AF3B
monochromatic
#381951 #582880 #7836AF #9657CB #B486DA

Accessibility & contrast

On white

7.13
#7836AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7836AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7836AF
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7836AF#FFFFFF#000000##FFFFFF
##7836AF1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0A58AC
Tritanopia (blue-blind)
#6E516E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7836af;
/* rgb */ color: rgb(120, 54, 175);
/* oklch */ color: oklch(48.2% 0.185 305.5);
Tailwind
colors: {
  custom: {
    50: '#a372c8',
    500: '#7836af',
    950: '#000000',
  },
}
SCSS
$custom: #7836af;
$custom-light: #a372c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7836af",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 272.727,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48222,
    "c": 0.18498,
    "h": 305.5
  },
  "luminance": 0.09727
}

Semantic roles & 50–950 ramp

primary
#7836AF
secondary
#9DC37D
accent
#DC4C8D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7836AF

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

Preview Lab → · Contrast checker → · Palette generator →

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