#7836CA#7836CA

#7836CA is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.214 H 298.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7836CA
RGBrgb(120, 54, 202)
HSLhsl(267, 58%, 50%)
HSVhsv(267, 73%, 79%)
CMYKcmyk(40.6%, 73.3%, 0%, 20.8%)
CIE-LABlab(39.40, 57.21, -65.60)
CIE-LCHlch(39.40, 87.04, 311.09°)
OKLaboklab(50.33% 0.1025 -0.1875)
OKLCHoklch(50.33% 0.214 298.7)
XYZxyz(19.7228, 10.8954, 56.9296)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7836CA #88CA36
analogous
#363ECA #7836CA #C236CA
triadic
#7836CA #CA7836 #36CA78
tetradic
#7836CA #CA363E #88CA36 #36CAC2
square
#7836CA #CA363E #88CA36 #36CAC2
split-complementary
#7836CA #CAC236 #3ECA36
monochromatic
#3F1C6A #5B299A #7836CA #9966D7 #B997E4

Accessibility & contrast

On white

6.61
#7836CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7836CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7836CA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7836CA#FFFFFF#000000##FFFFFF
##7836CA1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#645C7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7836ca;
/* rgb */ color: rgb(120, 54, 202);
/* oklch */ color: oklch(50.3% 0.214 298.7);
Tailwind
colors: {
  custom: {
    50: '#a673db',
    500: '#7836ca',
    950: '#000000',
  },
}
SCSS
$custom: #7836ca;
$custom-light: #a673db;
$custom-dark: #000000;
JSON
{
  "hex": "#7836ca",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 266.757,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50327,
    "c": 0.21368,
    "h": 298.7
  },
  "luminance": 0.10896
}

Semantic roles & 50–950 ramp

primary
#7836CA
secondary
#B1CF8D
accent
#E1469C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7836CA

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

Preview Lab → · Contrast checker → · Palette generator →

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