#7836D8#7836D8

#7836D8 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.5% C 0.228 H 295.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7836D8
RGBrgb(120, 54, 216)
HSLhsl(264, 68%, 53%)
HSVhsv(264, 75%, 85%)
CMYKcmyk(44.4%, 75%, 0%, 15.3%)
CIE-LABlab(40.55, 60.67, -71.80)
CIE-LCHlch(40.55, 94.01, 310.20°)
OKLaboklab(51.49% 0.0992 -0.2057)
OKLCHoklch(51.49% 0.228 295.7)
XYZxyz(21.4562, 11.5887, 66.0588)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7836D8 #96D836
analogous
#3645D8 #7836D8 #C936D8
triadic
#7836D8 #D87836 #36D878
tetradic
#7836D8 #D83645 #96D836 #36D8C9
square
#7836D8 #D83645 #96D836 #36D8C9
split-complementary
#7836D8 #D8C936 #45D836
monochromatic
#41187C #5B22AF #7836D8 #9A69E2 #BD9DEC

Accessibility & contrast

On white

6.33
#7836D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7836D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7836D8
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7836D8#FFFFFF#000000##FFFFFF
##7836D81.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DD
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#5D6285
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7836d8;
/* rgb */ color: rgb(120, 54, 216);
/* oklch */ color: oklch(51.5% 0.228 295.7);
Tailwind
colors: {
  custom: {
    50: '#a774e5',
    500: '#7836d8',
    950: '#000000',
  },
}
SCSS
$custom: #7836d8;
$custom-light: #a774e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7836d8",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 216
  },
  "hsl": {
    "h": 264.444,
    "s": 67.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51492,
    "c": 0.22837,
    "h": 295.7
  },
  "luminance": 0.11589
}

Semantic roles & 50–950 ramp

primary
#7836D8
secondary
#BBD892
accent
#EA3DA4
background
#FAF7FE
surface
#F5EDFC
border
#CFC8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7836D8

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

Preview Lab → · Contrast checker → · Palette generator →

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