#7831C0#7831C0

#7831C0 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.209 H 301.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7831C0
RGBrgb(120, 49, 192)
HSLhsl(270, 59%, 47%)
HSVhsv(270, 74%, 75%)
CMYKcmyk(37.5%, 74.5%, 0%, 24.7%)
CIE-LABlab(37.83, 56.97, -62.32)
CIE-LCHlch(37.83, 84.44, 312.43°)
OKLaboklab(48.97% 0.1092 -0.1778)
OKLCHoklch(48.97% 0.209 301.6)
XYZxyz(18.3562, 9.9954, 50.8212)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7831C0 #79C031
analogous
#3132C0 #7831C0 #BF31C0
triadic
#7831C0 #C07831 #31C078
tetradic
#7831C0 #C03132 #79C031 #31C0BF
square
#7831C0 #C03132 #79C031 #31C0BF
split-complementary
#7831C0 #C0BF31 #32C031
monochromatic
#3B185E #5A258F #7831C0 #9759D5 #B58AE1

Accessibility & contrast

On white

7.00
#7831C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7831C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7831C0
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7831C0#FFFFFF#000000##FFFFFF
##7831C01.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#685576
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7831c0;
/* rgb */ color: rgb(120, 49, 192);
/* oklch */ color: oklch(49.0% 0.209 301.6);
Tailwind
colors: {
  custom: {
    50: '#a570d4',
    500: '#7831c0',
    950: '#000000',
  },
}
SCSS
$custom: #7831c0;
$custom-light: #a570d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7831c0",
  "rgb": {
    "r": 120,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 269.79,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48971,
    "c": 0.2087,
    "h": 301.6
  },
  "luminance": 0.09995
}

Semantic roles & 50–950 ramp

primary
#7831C0
secondary
#A7CB82
accent
#E34594
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7831C0

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

Preview Lab → · Contrast checker → · Palette generator →

#7831C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva