#7837C7#7837C7

#7837C7 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.2% C 0.209 H 299.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7837C7
RGBrgb(120, 55, 199)
HSLhsl(267, 57%, 50%)
HSVhsv(267, 72%, 78%)
CMYKcmyk(39.7%, 72.4%, 0%, 22%)
CIE-LABlab(39.32, 56.01, -63.98)
CIE-LCHlch(39.32, 85.04, 311.20°)
OKLaboklab(50.2% 0.1022 -0.1827)
OKLCHoklch(50.2% 0.209 299.2)
XYZxyz(19.4181, 10.8487, 55.0927)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7837C7 #86C737
analogous
#373EC7 #7837C7 #C037C7
triadic
#7837C7 #C77837 #37C778
tetradic
#7837C7 #C7373E #86C737 #37C7C0
square
#7837C7 #C7373E #86C737 #37C7C0
split-complementary
#7837C7 #C7C037 #3EC737
monochromatic
#3E1C67 #5B2A97 #7837C7 #9866D5 #B996E2

Accessibility & contrast

On white

6.63
#7837C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7837C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7837C7
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7837C7#FFFFFF#000000##FFFFFF
##7837C71.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#655B7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7837c7;
/* rgb */ color: rgb(120, 55, 199);
/* oklch */ color: oklch(50.2% 0.209 299.2);
Tailwind
colors: {
  custom: {
    50: '#a674d9',
    500: '#7837c7',
    950: '#000000',
  },
}
SCSS
$custom: #7837c7;
$custom-light: #a674d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7837c7",
  "rgb": {
    "r": 120,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 267.083,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50196,
    "c": 0.20939,
    "h": 299.2
  },
  "luminance": 0.10849
}

Semantic roles & 50–950 ramp

primary
#7837C7
secondary
#B0CD8C
accent
#E0489B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7837C7

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

Preview Lab → · Contrast checker → · Palette generator →

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