#7837D8#7837D8

#7837D8 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.6% C 0.227 H 295.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7837D8
RGBrgb(120, 55, 216)
HSLhsl(264, 67%, 53%)
HSVhsv(264, 75%, 85%)
CMYKcmyk(44.4%, 74.5%, 0%, 15.3%)
CIE-LABlab(40.71, 60.24, -71.55)
CIE-LCHlch(40.71, 93.53, 310.09°)
OKLaboklab(51.6% 0.0984 -0.205)
OKLCHoklch(51.6% 0.227 295.6)
XYZxyz(21.5033, 11.6828, 66.0745)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7837D8 #97D837
analogous
#3746D8 #7837D8 #C937D8
triadic
#7837D8 #D87837 #37D878
tetradic
#7837D8 #D83746 #97D837 #37D8C9
square
#7837D8 #D83746 #97D837 #37D8C9
split-complementary
#7837D8 #D8C937 #46D837
monochromatic
#41187C #5B22B0 #7837D8 #9B6AE2 #BD9DEC

Accessibility & contrast

On white

6.29
#7837D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7837D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7837D8
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7837D8#FFFFFF#000000##FFFFFF
##7837D81.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DD
Deuteranopia (green-blind)
#005ED5
Tritanopia (blue-blind)
#5D6285
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7837d8;
/* rgb */ color: rgb(120, 55, 216);
/* oklch */ color: oklch(51.6% 0.227 295.6);
Tailwind
colors: {
  custom: {
    50: '#a774e5',
    500: '#7837d8',
    950: '#000000',
  },
}
SCSS
$custom: #7837d8;
$custom-light: #a774e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7837d8",
  "rgb": {
    "r": 120,
    "g": 55,
    "b": 216
  },
  "hsl": {
    "h": 264.224,
    "s": 67.364,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51599,
    "c": 0.22737,
    "h": 295.6
  },
  "luminance": 0.11683
}

Semantic roles & 50–950 ramp

primary
#7837D8
secondary
#BCD893
accent
#EA3EA5
background
#FAF7FE
surface
#F5EDFC
border
#CFC8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7837D8

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

Preview Lab → · Contrast checker → · Palette generator →

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