#7832CF#7832CF

#7832CF is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.223 H 298.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7832CF
RGBrgb(120, 50, 207)
HSLhsl(267, 62%, 50%)
HSVhsv(267, 76%, 81%)
CMYKcmyk(42%, 75.8%, 0%, 18.8%)
CIE-LABlab(39.21, 60.16, -68.82)
CIE-LCHlch(39.21, 91.41, 311.16°)
OKLaboklab(50.31% 0.1048 -0.1969)
OKLCHoklch(50.31% 0.223 298)
XYZxyz(20.1459, 10.7789, 60.0385)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7832CF #89CF32
analogous
#323ACF #7832CF #C732CF
triadic
#7832CF #CF7832 #32CF78
tetradic
#7832CF #CF323A #89CF32 #32CFC7
square
#7832CF #CF323A #89CF32 #32CFC7
split-complementary
#7832CF #CFC732 #3ACF32
monochromatic
#3F1A6D #5B259F #7832CF #9964DB #B995E6

Accessibility & contrast

On white

6.65
#7832CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7832CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7832CF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7832CF#FFFFFF#000000##FFFFFF
##7832CF1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#625C7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7832cf;
/* rgb */ color: rgb(120, 50, 207);
/* oklch */ color: oklch(50.3% 0.223 298.0);
Tailwind
colors: {
  custom: {
    50: '#a771df',
    500: '#7832cf',
    950: '#000000',
  },
}
SCSS
$custom: #7832cf;
$custom-light: #a771df;
$custom-dark: #000000;
JSON
{
  "hex": "#7832cf",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 207
  },
  "hsl": {
    "h": 266.752,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50314,
    "c": 0.22306,
    "h": 298
  },
  "luminance": 0.10779
}

Semantic roles & 50–950 ramp

primary
#7832CF
secondary
#B2D18B
accent
#E5439D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7832CF

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

Preview Lab → · Contrast checker → · Palette generator →

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