#6832B2#6832B2

#6832B2 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.190 H 297.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6832B2
RGBrgb(104, 50, 178)
HSLhsl(265, 56%, 45%)
HSVhsv(265, 72%, 70%)
CMYKcmyk(41.6%, 71.9%, 0%, 30.2%)
CIE-LABlab(34.88, 50.19, -58.96)
CIE-LCHlch(34.88, 77.43, 310.41°)
OKLaboklab(46.1% 0.0883 -0.1685)
OKLCHoklch(46.1% 0.19 297.7)
XYZxyz(14.8833, 8.4384, 42.9555)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6832B2 #7CB232
analogous
#323CB2 #6832B2 #A832B2
triadic
#6832B2 #B26832 #32B268
tetradic
#6832B2 #B2323C #7CB232 #32B2A8
square
#6832B2 #B2323C #7CB232 #32B2A8
split-complementary
#6832B2 #B2A832 #3CB232
monochromatic
#301752 #4C2582 #6832B2 #8753CF #A882DC

Accessibility & contrast

On white

7.81
#6832B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6832B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6832B2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6832B2#FFFFFF#000000##FFFFFF
##6832B21.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#55526F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6832b2;
/* rgb */ color: rgb(104, 50, 178);
/* oklch */ color: oklch(46.1% 0.190 297.7);
Tailwind
colors: {
  custom: {
    50: '#9a6fca',
    500: '#6832b2',
    950: '#000000',
  },
}
SCSS
$custom: #6832b2;
$custom-light: #9a6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#6832b2",
  "rgb": {
    "r": 104,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 265.313,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46095,
    "c": 0.19025,
    "h": 297.7
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#6832B2
secondary
#A6C57B
accent
#DF48A0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6832B2

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

Preview Lab → · Contrast checker → · Palette generator →

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