#7837C1#7837C1

#7837C1 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.7% C 0.203 H 300.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7837C1
RGBrgb(120, 55, 193)
HSLhsl(268, 56%, 49%)
HSVhsv(268, 72%, 76%)
CMYKcmyk(37.8%, 71.5%, 0%, 24.3%)
CIE-LABlab(38.86, 54.54, -61.24)
CIE-LCHlch(38.86, 82.01, 311.69°)
OKLaboklab(49.72% 0.1034 -0.1747)
OKLCHoklch(49.72% 0.203 300.6)
XYZxyz(18.7352, 10.5756, 51.4960)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7837C1 #80C137
analogous
#373BC1 #7837C1 #BD37C1
triadic
#7837C1 #C17837 #37C178
tetradic
#7837C1 #C1373B #80C137 #37C1BD
square
#7837C1 #C1373B #80C137 #37C1BD
split-complementary
#7837C1 #C1BD37 #3BC137
monochromatic
#3D1C62 #5A2991 #7837C1 #9763D2 #B792E0

Accessibility & contrast

On white

6.74
#7837C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7837C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7837C1
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7837C1#FFFFFF#000000##FFFFFF
##7837C11.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#685978
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7837c1;
/* rgb */ color: rgb(120, 55, 193);
/* oklch */ color: oklch(49.7% 0.203 300.6);
Tailwind
colors: {
  custom: {
    50: '#a573d5',
    500: '#7837c1',
    950: '#000000',
  },
}
SCSS
$custom: #7837c1;
$custom-light: #a573d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7837c1",
  "rgb": {
    "r": 120,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 268.261,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49718,
    "c": 0.203,
    "h": 300.6
  },
  "luminance": 0.10576
}

Semantic roles & 50–950 ramp

primary
#7837C1
secondary
#ACCB89
accent
#DF4998
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7837C1

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

Preview Lab → · Contrast checker → · Palette generator →

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