#7836C1#7836C1

#7836C1 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.204 H 300.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7836C1
RGBrgb(120, 54, 193)
HSLhsl(268, 56%, 48%)
HSVhsv(268, 72%, 76%)
CMYKcmyk(37.8%, 72%, 0%, 24.3%)
CIE-LABlab(38.69, 55.00, -61.51)
CIE-LCHlch(38.69, 82.51, 311.80°)
OKLaboklab(49.6% 0.1044 -0.1755)
OKLCHoklch(49.6% 0.204 300.7)
XYZxyz(18.6882, 10.4815, 51.4803)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7836C1 #7FC136
analogous
#363AC1 #7836C1 #BD36C1
triadic
#7836C1 #C17836 #36C178
tetradic
#7836C1 #C1363A #7FC136 #36C1BD
square
#7836C1 #C1363A #7FC136 #36C1BD
split-complementary
#7836C1 #C1BD36 #3AC136
monochromatic
#3D1B61 #5A2991 #7836C1 #9761D3 #B791E0

Accessibility & contrast

On white

6.78
#7836C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7836C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7836C1
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7836C1#FFFFFF#000000##FFFFFF
##7836C11.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)
#005AC5
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#685878
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7836c1;
/* rgb */ color: rgb(120, 54, 193);
/* oklch */ color: oklch(49.6% 0.204 300.7);
Tailwind
colors: {
  custom: {
    50: '#a573d5',
    500: '#7836c1',
    950: '#000000',
  },
}
SCSS
$custom: #7836c1;
$custom-light: #a573d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7836c1",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 193
  },
  "hsl": {
    "h": 268.489,
    "s": 56.275,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49603,
    "c": 0.20416,
    "h": 300.7
  },
  "luminance": 0.10482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7836C1

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

Preview Lab → · Contrast checker → · Palette generator →

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