#7836C2#7836C2

#7836C2 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.205 H 300.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7836C2
RGBrgb(120, 54, 194)
HSLhsl(268, 56%, 49%)
HSVhsv(268, 72%, 76%)
CMYKcmyk(38.1%, 72.2%, 0%, 23.9%)
CIE-LABlab(38.77, 55.24, -61.97)
CIE-LCHlch(38.77, 83.02, 311.72°)
OKLaboklab(49.68% 0.1042 -0.1768)
OKLCHoklch(49.68% 0.205 300.5)
XYZxyz(18.8001, 10.5263, 52.0698)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7836C2 #80C236
analogous
#363AC2 #7836C2 #BE36C2
triadic
#7836C2 #C27836 #36C278
tetradic
#7836C2 #C2363A #80C236 #36C2BE
square
#7836C2 #C2363A #80C236 #36C2BE
split-complementary
#7836C2 #C2BE36 #3AC236
monochromatic
#3D1B62 #5A2992 #7836C2 #9762D3 #B792E1

Accessibility & contrast

On white

6.76
#7836C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7836C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7836C2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7836C2#FFFFFF#000000##FFFFFF
##7836C21.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#675979
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7836c2;
/* rgb */ color: rgb(120, 54, 194);
/* oklch */ color: oklch(49.7% 0.205 300.5);
Tailwind
colors: {
  custom: {
    50: '#a573d5',
    500: '#7836c2',
    950: '#000000',
  },
}
SCSS
$custom: #7836c2;
$custom-light: #a573d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7836c2",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 268.286,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49682,
    "c": 0.20522,
    "h": 300.5
  },
  "luminance": 0.10526
}

Semantic roles & 50–950 ramp

primary
#7836C2
secondary
#ACCC88
accent
#E04898
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7836C2

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

Preview Lab → · Contrast checker → · Palette generator →

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