#7837B7#7837B7

#7837B7 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.192 H 303.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7837B7
RGBrgb(120, 55, 183)
HSLhsl(270, 54%, 47%)
HSVhsv(270, 70%, 72%)
CMYKcmyk(34.4%, 69.9%, 0%, 28.2%)
CIE-LABlab(38.10, 52.11, -56.60)
CIE-LCHlch(38.10, 76.93, 312.63°)
OKLaboklab(48.94% 0.1051 -0.161)
OKLCHoklch(48.94% 0.192 303.1)
XYZxyz(17.6572, 10.1443, 45.8184)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7837B7 #76B737
analogous
#3837B7 #7837B7 #B737B6
triadic
#7837B7 #B77837 #37B778
tetradic
#7837B7 #B73837 #76B737 #37B6B7
square
#7837B7 #B73837 #76B737 #37B6B7
split-complementary
#7837B7 #B6B737 #37B738
monochromatic
#3A1B59 #592988 #7837B7 #965DCE #B58CDC

Accessibility & contrast

On white

6.93
#7837B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7837B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7837B7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7837B7#FFFFFF#000000##FFFFFF
##7837B71.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#6B5573
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7837b7;
/* rgb */ color: rgb(120, 55, 183);
/* oklch */ color: oklch(48.9% 0.192 303.1);
Tailwind
colors: {
  custom: {
    50: '#a473cd',
    500: '#7837b7',
    950: '#000000',
  },
}
SCSS
$custom: #7837b7;
$custom-light: #a473cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7837b7",
  "rgb": {
    "r": 120,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 270.469,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48944,
    "c": 0.19229,
    "h": 303.1
  },
  "luminance": 0.10144
}

Semantic roles & 50–950 ramp

primary
#7837B7
secondary
#A4C783
accent
#DD4B93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7837B7

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

Preview Lab → · Contrast checker → · Palette generator →

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