#7832BF#7832BF

#7832BF is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.207 H 301.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7832BF
RGBrgb(120, 50, 191)
HSLhsl(270, 59%, 47%)
HSVhsv(270, 74%, 75%)
CMYKcmyk(37.2%, 73.8%, 0%, 25.1%)
CIE-LABlab(37.91, 56.30, -61.62)
CIE-LCHlch(37.91, 83.47, 312.42°)
OKLaboklab(49% 0.1085 -0.1758)
OKLCHoklch(49% 0.207 301.7)
XYZxyz(18.2880, 10.0358, 50.2537)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7832BF #79BF32
analogous
#3233BF #7832BF #BE32BF
triadic
#7832BF #BF7832 #32BF78
tetradic
#7832BF #BF3233 #79BF32 #32BFBE
square
#7832BF #BF3233 #79BF32 #32BFBE
split-complementary
#7832BF #BFBE32 #33BF32
monochromatic
#3B195E #5A258E #7832BF #975AD4 #B58BE1

Accessibility & contrast

On white

6.98
#7832BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7832BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7832BF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7832BF#FFFFFF#000000##FFFFFF
##7832BF1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#695576
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7832bf;
/* rgb */ color: rgb(120, 50, 191);
/* oklch */ color: oklch(49.0% 0.207 301.7);
Tailwind
colors: {
  custom: {
    50: '#a571d3',
    500: '#7832bf',
    950: '#000000',
  },
}
SCSS
$custom: #7832bf;
$custom-light: #a571d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7832bf",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 191
  },
  "hsl": {
    "h": 269.787,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48998,
    "c": 0.20657,
    "h": 301.7
  },
  "luminance": 0.10036
}

Semantic roles & 50–950 ramp

primary
#7832BF
secondary
#A7CB82
accent
#E24694
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7832BF

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

Preview Lab → · Contrast checker → · Palette generator →

#7832BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva