#7837C3#7837C3

#7837C3 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.9% C 0.205 H 300.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7837C3
RGBrgb(120, 55, 195)
HSLhsl(268, 56%, 49%)
HSVhsv(268, 72%, 76%)
CMYKcmyk(38.5%, 71.8%, 0%, 23.5%)
CIE-LABlab(39.01, 55.03, -62.16)
CIE-LCHlch(39.01, 83.02, 311.52°)
OKLaboklab(49.88% 0.103 -0.1774)
OKLCHoklch(49.88% 0.205 300.1)
XYZxyz(18.9598, 10.6654, 52.6789)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7837C3 #82C337
analogous
#373CC3 #7837C3 #BE37C3
triadic
#7837C3 #C37837 #37C378
tetradic
#7837C3 #C3373C #82C337 #37C3BE
square
#7837C3 #C3373C #82C337 #37C3BE
split-complementary
#7837C3 #C3BE37 #3CC337
monochromatic
#3D1C64 #5B2A93 #7837C3 #9864D3 #B794E1

Accessibility & contrast

On white

6.70
#7837C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7837C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7837C3
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7837C3#FFFFFF#000000##FFFFFF
##7837C31.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#675A7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7837c3;
/* rgb */ color: rgb(120, 55, 195);
/* oklch */ color: oklch(49.9% 0.205 300.1);
Tailwind
colors: {
  custom: {
    50: '#a573d6',
    500: '#7837c3',
    950: '#000000',
  },
}
SCSS
$custom: #7837c3;
$custom-light: #a573d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7837c3",
  "rgb": {
    "r": 120,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 267.857,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49877,
    "c": 0.20513,
    "h": 300.1
  },
  "luminance": 0.10666
}

Semantic roles & 50–950 ramp

primary
#7837C3
secondary
#ADCC8A
accent
#DF4999
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7837C3

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

Preview Lab → · Contrast checker → · Palette generator →

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