#7836CF#7836CF

#7836CF is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.7% C 0.219 H 297.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7836CF
RGBrgb(120, 54, 207)
HSLhsl(266, 61%, 51%)
HSVhsv(266, 74%, 81%)
CMYKcmyk(42%, 73.9%, 0%, 18.8%)
CIE-LABlab(39.81, 58.44, -67.84)
CIE-LCHlch(39.81, 89.54, 310.74°)
OKLaboklab(50.74% 0.1014 -0.1941)
OKLCHoklch(50.74% 0.219 297.6)
XYZxyz(20.3245, 11.1360, 60.0980)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7836CF #8DCF36
analogous
#3640CF #7836CF #C436CF
triadic
#7836CF #CF7836 #36CF78
tetradic
#7836CF #CF3640 #8DCF36 #36CFC4
square
#7836CF #CF3640 #8DCF36 #36CFC4
split-complementary
#7836CF #CFC436 #40CF36
monochromatic
#3F1B70 #5B27A1 #7836CF #9967DB #BA99E7

Accessibility & contrast

On white

6.51
#7836CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7836CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7836CF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7836CF#FFFFFF#000000##FFFFFF
##7836CF1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#625E80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7836cf;
/* rgb */ color: rgb(120, 54, 207);
/* oklch */ color: oklch(50.7% 0.219 297.6);
Tailwind
colors: {
  custom: {
    50: '#a673df',
    500: '#7836cf',
    950: '#000000',
  },
}
SCSS
$custom: #7836cf;
$custom-light: #a673df;
$custom-dark: #000000;
JSON
{
  "hex": "#7836cf",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 207
  },
  "hsl": {
    "h": 265.882,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50738,
    "c": 0.21895,
    "h": 297.6
  },
  "luminance": 0.11136
}

Semantic roles & 50–950 ramp

primary
#7836CF
secondary
#B5D28F
accent
#E5439F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7836CF

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

Preview Lab → · Contrast checker → · Palette generator →

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