#7837BD#7837BD

#7837BD is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.4% C 0.199 H 301.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7837BD
RGBrgb(120, 55, 189)
HSLhsl(269, 55%, 48%)
HSVhsv(269, 71%, 74%)
CMYKcmyk(36.5%, 70.9%, 0%, 25.9%)
CIE-LABlab(38.55, 53.56, -59.40)
CIE-LCHlch(38.55, 79.98, 312.04°)
OKLaboklab(49.41% 0.1041 -0.1693)
OKLCHoklch(49.41% 0.199 301.6)
XYZxyz(18.2950, 10.3995, 49.1777)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7837BD #7CBD37
analogous
#3739BD #7837BD #BB37BD
triadic
#7837BD #BD7837 #37BD78
tetradic
#7837BD #BD3739 #7CBD37 #37BDBB
square
#7837BD #BD3739 #7CBD37 #37BDBB
split-complementary
#7837BD #BDBB37 #39BD37
monochromatic
#3C1B5E #5A298E #7837BD #9760D1 #B690DF

Accessibility & contrast

On white

6.82
#7837BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7837BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7837BD
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7837BD#FFFFFF#000000##FFFFFF
##7837BD1.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)
#005AC1
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#695776
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7837bd;
/* rgb */ color: rgb(120, 55, 189);
/* oklch */ color: oklch(49.4% 0.199 301.6);
Tailwind
colors: {
  custom: {
    50: '#a573d2',
    500: '#7837bd',
    950: '#000000',
  },
}
SCSS
$custom: #7837bd;
$custom-light: #a573d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7837bd",
  "rgb": {
    "r": 120,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 269.104,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49405,
    "c": 0.19873,
    "h": 301.6
  },
  "luminance": 0.104
}

Semantic roles & 50–950 ramp

primary
#7837BD
secondary
#A9C986
accent
#DE4A96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7837BD

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

Preview Lab → · Contrast checker → · Palette generator →

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