#7837BB#7837BB

#7837BB is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.3% C 0.197 H 302.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7837BB
RGBrgb(120, 55, 187)
HSLhsl(270, 55%, 47%)
HSVhsv(270, 71%, 73%)
CMYKcmyk(35.8%, 70.6%, 0%, 26.7%)
CIE-LABlab(38.40, 53.08, -58.47)
CIE-LCHlch(38.40, 78.97, 312.23°)
OKLaboklab(49.25% 0.1045 -0.1665)
OKLCHoklch(49.25% 0.197 302.1)
XYZxyz(18.0794, 10.3132, 48.0422)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7837BB #7ABB37
analogous
#3738BB #7837BB #BA37BB
triadic
#7837BB #BB7837 #37BB78
tetradic
#7837BB #BB3738 #7ABB37 #37BBBA
square
#7837BB #BB3738 #7ABB37 #37BBBA
split-complementary
#7837BB #BBBA37 #38BB37
monochromatic
#3B1B5C #5A298C #7837BB #975FD0 #B68EDE

Accessibility & contrast

On white

6.86
#7837BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7837BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7837BB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7837BB#FFFFFF#000000##FFFFFF
##7837BB1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#6A5775
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7837bb;
/* rgb */ color: rgb(120, 55, 187);
/* oklch */ color: oklch(49.3% 0.197 302.1);
Tailwind
colors: {
  custom: {
    50: '#a473d0',
    500: '#7837bb',
    950: '#000000',
  },
}
SCSS
$custom: #7837bb;
$custom-light: #a473d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7837bb",
  "rgb": {
    "r": 120,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 269.545,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4925,
    "c": 0.19658,
    "h": 302.1
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#7837BB
secondary
#A7C985
accent
#DE4A95
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7837BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7837BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva