#7836BF#7836BF

#7836BF is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.4% C 0.202 H 301.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7836BF
RGBrgb(120, 54, 191)
HSLhsl(269, 56%, 48%)
HSVhsv(269, 72%, 75%)
CMYKcmyk(37.2%, 71.7%, 0%, 25.1%)
CIE-LABlab(38.54, 54.51, -60.59)
CIE-LCHlch(38.54, 81.50, 311.98°)
OKLaboklab(49.45% 0.1047 -0.1728)
OKLCHoklch(49.45% 0.202 301.2)
XYZxyz(18.4666, 10.3929, 50.3132)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7836BF #7DBF36
analogous
#3639BF #7836BF #BC36BF
triadic
#7836BF #BF7836 #36BF78
tetradic
#7836BF #BF3639 #7DBF36 #36BFBC
square
#7836BF #BF3639 #7DBF36 #36BFBC
split-complementary
#7836BF #BFBC36 #39BF36
monochromatic
#3C1B60 #5A298F #7836BF #9760D2 #B690E0

Accessibility & contrast

On white

6.82
#7836BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7836BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7836BF
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7836BF#FFFFFF#000000##FFFFFF
##7836BF1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#685877
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7836bf;
/* rgb */ color: rgb(120, 54, 191);
/* oklch */ color: oklch(49.4% 0.202 301.2);
Tailwind
colors: {
  custom: {
    50: '#a573d3',
    500: '#7836bf',
    950: '#000000',
  },
}
SCSS
$custom: #7836bf;
$custom-light: #a573d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7836bf",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 268.905,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49445,
    "c": 0.20203,
    "h": 301.2
  },
  "luminance": 0.10393
}

Semantic roles & 50–950 ramp

primary
#7836BF
secondary
#AACA87
accent
#DF4997
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7836BF

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

Preview Lab → · Contrast checker → · Palette generator →

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