#6832B3#6832B3

#6832B3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.191 H 297.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6832B3
RGBrgb(104, 50, 179)
HSLhsl(265, 56%, 45%)
HSVhsv(265, 72%, 70%)
CMYKcmyk(41.9%, 72.1%, 0%, 29.8%)
CIE-LABlab(34.96, 50.45, -59.42)
CIE-LCHlch(34.96, 77.95, 310.33°)
OKLaboklab(46.18% 0.0881 -0.1699)
OKLCHoklch(46.18% 0.191 297.4)
XYZxyz(14.9841, 8.4787, 43.4862)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6832B3 #7DB332
analogous
#323DB3 #6832B3 #A832B3
triadic
#6832B3 #B36832 #32B368
tetradic
#6832B3 #B3323D #7DB332 #32B3A8
square
#6832B3 #B3323D #7DB332 #32B3A8
split-complementary
#6832B3 #B3A832 #3DB332
monochromatic
#301753 #4C2583 #6832B3 #8753CF #A883DC

Accessibility & contrast

On white

7.79
#6832B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6832B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6832B3
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6832B3#FFFFFF#000000##FFFFFF
##6832B31.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#55526F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6832b3;
/* rgb */ color: rgb(104, 50, 179);
/* oklch */ color: oklch(46.2% 0.191 297.4);
Tailwind
colors: {
  custom: {
    50: '#9a6fcb',
    500: '#6832b3',
    950: '#000000',
  },
}
SCSS
$custom: #6832b3;
$custom-light: #9a6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6832b3",
  "rgb": {
    "r": 104,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 265.116,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46178,
    "c": 0.19137,
    "h": 297.4
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#6832B3
secondary
#A6C67B
accent
#E048A0
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6832B3

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

Preview Lab → · Contrast checker → · Palette generator →

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