#6832B0#6832B0

#6832B0 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.188 H 298.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#6832B0
RGBrgb(104, 50, 176)
HSLhsl(266, 56%, 44%)
HSVhsv(266, 72%, 69%)
CMYKcmyk(40.9%, 71.6%, 0%, 31%)
CIE-LABlab(34.72, 49.67, -58.03)
CIE-LCHlch(34.72, 76.39, 310.56°)
OKLaboklab(45.93% 0.0887 -0.1658)
OKLCHoklch(45.93% 0.188 298.2)
XYZxyz(14.6840, 8.3586, 41.9056)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6832B0 #7AB032
analogous
#323BB0 #6832B0 #A732B0
triadic
#6832B0 #B06832 #32B068
tetradic
#6832B0 #B0323B #7AB032 #32B0A7
square
#6832B0 #B0323B #7AB032 #32B0A7
split-complementary
#6832B0 #B0A732 #3BB032
monochromatic
#301751 #4C2480 #6832B0 #8751CE #A881DB

Accessibility & contrast

On white

7.86
#6832B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6832B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6832B0
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6832B0#FFFFFF#000000##FFFFFF
##6832B01.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#56516E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6832b0;
/* rgb */ color: rgb(104, 50, 176);
/* oklch */ color: oklch(45.9% 0.188 298.2);
Tailwind
colors: {
  custom: {
    50: '#996fc8',
    500: '#6832b0',
    950: '#000000',
  },
}
SCSS
$custom: #6832b0;
$custom-light: #996fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6832b0",
  "rgb": {
    "r": 104,
    "g": 50,
    "b": 176
  },
  "hsl": {
    "h": 265.714,
    "s": 55.752,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45931,
    "c": 0.18803,
    "h": 298.2
  },
  "luminance": 0.08359
}

Semantic roles & 50–950 ramp

primary
#6832B0
secondary
#A4C479
accent
#DF499F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6832B0

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

Preview Lab → · Contrast checker → · Palette generator →

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