#7837C5#7837C5

#7837C5 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.0% C 0.207 H 299.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7837C5
RGBrgb(120, 55, 197)
HSLhsl(267, 56%, 49%)
HSVhsv(267, 72%, 77%)
CMYKcmyk(39.1%, 72.1%, 0%, 22.7%)
CIE-LABlab(39.17, 55.52, -63.07)
CIE-LCHlch(39.17, 84.03, 311.36°)
OKLaboklab(50.04% 0.1026 -0.1801)
OKLCHoklch(50.04% 0.207 299.7)
XYZxyz(19.1874, 10.7565, 53.8778)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7837C5 #84C537
analogous
#373DC5 #7837C5 #BF37C5
triadic
#7837C5 #C57837 #37C578
tetradic
#7837C5 #C5373D #84C537 #37C5BF
square
#7837C5 #C5373D #84C537 #37C5BF
split-complementary
#7837C5 #C5BF37 #3DC537
monochromatic
#3E1C65 #5B2A95 #7837C5 #9865D4 #B895E1

Accessibility & contrast

On white

6.66
#7837C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7837C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7837C5
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7837C5#FFFFFF#000000##FFFFFF
##7837C51.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#665A7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7837c5;
/* rgb */ color: rgb(120, 55, 197);
/* oklch */ color: oklch(50.0% 0.207 299.7);
Tailwind
colors: {
  custom: {
    50: '#a574d8',
    500: '#7837c5',
    950: '#000000',
  },
}
SCSS
$custom: #7837c5;
$custom-light: #a574d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7837c5",
  "rgb": {
    "r": 120,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 267.465,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50036,
    "c": 0.20726,
    "h": 299.7
  },
  "luminance": 0.10757
}

Semantic roles & 50–950 ramp

primary
#7837C5
secondary
#AFCD8B
accent
#E0489A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7837C5

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

Preview Lab → · Contrast checker → · Palette generator →

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