#6832B5#6832B5

#6832B5 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.194 H 296.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6832B5
RGBrgb(104, 50, 181)
HSLhsl(265, 57%, 45%)
HSVhsv(265, 72%, 71%)
CMYKcmyk(42.5%, 72.4%, 0%, 29%)
CIE-LABlab(35.12, 50.97, -60.34)
CIE-LCHlch(35.12, 78.99, 310.18°)
OKLaboklab(46.34% 0.0877 -0.1726)
OKLCHoklch(46.34% 0.194 296.9)
XYZxyz(15.1878, 8.5602, 44.5592)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6832B5 #7FB532
analogous
#323DB5 #6832B5 #A932B5
triadic
#6832B5 #B56832 #32B568
tetradic
#6832B5 #B5323D #7FB532 #32B5A9
square
#6832B5 #B5323D #7FB532 #32B5A9
split-complementary
#6832B5 #B5A932 #3DB532
monochromatic
#311855 #4C2585 #6832B5 #8754D0 #A984DD

Accessibility & contrast

On white

7.74
#6832B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6832B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6832B5
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6832B5#FFFFFF#000000##FFFFFF
##6832B51.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#545370
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6832b5;
/* rgb */ color: rgb(104, 50, 181);
/* oklch */ color: oklch(46.3% 0.194 296.9);
Tailwind
colors: {
  custom: {
    50: '#9a6fcc',
    500: '#6832b5',
    950: '#000000',
  },
}
SCSS
$custom: #6832b5;
$custom-light: #9a6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6832b5",
  "rgb": {
    "r": 104,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 264.733,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46343,
    "c": 0.19359,
    "h": 296.9
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#6832B5
secondary
#A8C77C
accent
#E048A1
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6832B5

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

Preview Lab → · Contrast checker → · Palette generator →

#6832B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva