#7832CB#7832CB

#7832CB is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.219 H 298.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7832CB
RGBrgb(120, 50, 203)
HSLhsl(267, 60%, 50%)
HSVhsv(267, 75%, 80%)
CMYKcmyk(40.9%, 75.4%, 0%, 20.4%)
CIE-LABlab(38.87, 59.19, -67.04)
CIE-LCHlch(38.87, 89.43, 311.44°)
OKLaboklab(49.98% 0.1058 -0.1917)
OKLCHoklch(49.98% 0.219 298.9)
XYZxyz(19.6631, 10.5858, 57.4956)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7832CB #85CB32
analogous
#3239CB #7832CB #C532CB
triadic
#7832CB #CB7832 #32CB78
tetradic
#7832CB #CB3239 #85CB32 #32CBC5
square
#7832CB #CB3239 #85CB32 #32CBC5
split-complementary
#7832CB #CBC532 #39CB32
monochromatic
#3E1A69 #5B269A #7832CB #9862D8 #B893E4

Accessibility & contrast

On white

6.74
#7832CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7832CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7832CB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7832CB#FFFFFF#000000##FFFFFF
##7832CB1.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)
#005CCF
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#645A7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7832cb;
/* rgb */ color: rgb(120, 50, 203);
/* oklch */ color: oklch(50.0% 0.219 298.9);
Tailwind
colors: {
  custom: {
    50: '#a671dc',
    500: '#7832cb',
    950: '#000000',
  },
}
SCSS
$custom: #7832cb;
$custom-light: #a671dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7832cb",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 203
  },
  "hsl": {
    "h": 267.451,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49979,
    "c": 0.21894,
    "h": 298.9
  },
  "luminance": 0.10586
}

Semantic roles & 50–950 ramp

primary
#7832CB
secondary
#AFCF89
accent
#E4449B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7832CB

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

Preview Lab → · Contrast checker → · Palette generator →

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