#6832B8#6832B8

#6832B8 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.197 H 296.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6832B8
RGBrgb(104, 50, 184)
HSLhsl(264, 57%, 46%)
HSVhsv(264, 73%, 72%)
CMYKcmyk(43.5%, 72.8%, 0%, 27.8%)
CIE-LABlab(35.37, 51.74, -61.72)
CIE-LCHlch(35.37, 80.54, 309.98°)
OKLaboklab(46.59% 0.0871 -0.1766)
OKLCHoklch(46.59% 0.197 296.2)
XYZxyz(15.4990, 8.6846, 46.1978)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6832B8 #82B832
analogous
#323FB8 #6832B8 #AB32B8
triadic
#6832B8 #B86832 #32B868
tetradic
#6832B8 #B8323F #82B832 #32B8AB
square
#6832B8 #B8323F #82B832 #32B8AB
split-complementary
#6832B8 #B8AB32 #3FB832
monochromatic
#321858 #4D2588 #6832B8 #8856D1 #AA86DE

Accessibility & contrast

On white

7.67
#6832B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6832B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6832B8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6832B8#FFFFFF#000000##FFFFFF
##6832B81.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#535472
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6832b8;
/* rgb */ color: rgb(104, 50, 184);
/* oklch */ color: oklch(46.6% 0.197 296.2);
Tailwind
colors: {
  custom: {
    50: '#9a6fce',
    500: '#6832b8',
    950: '#000000',
  },
}
SCSS
$custom: #6832b8;
$custom-light: #9a6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#6832b8",
  "rgb": {
    "r": 104,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 264.179,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46594,
    "c": 0.19691,
    "h": 296.2
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#6832B8
secondary
#AAC87E
accent
#E147A3
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6832B8

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

Preview Lab → · Contrast checker → · Palette generator →

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