#6B4BBD#6B4BBD

#6B4BBD is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.8% C 0.171 H 292.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6B4BBD
RGBrgb(107, 75, 189)
HSLhsl(257, 46%, 52%)
HSVhsv(257, 60%, 74%)
CMYKcmyk(43.4%, 60.3%, 0%, 25.9%)
CIE-LABlab(40.95, 40.40, -55.58)
CIE-LCHlch(40.95, 68.71, 306.01°)
OKLaboklab(50.8% 0.0645 -0.1585)
OKLCHoklch(50.8% 0.171 292.1)
XYZxyz(17.7623, 11.8315, 49.4821)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4BBD #9DBD4B
analogous
#4B64BD #6B4BBD #A44BBD
triadic
#6B4BBD #BD6B4B #4BBD6B
tetradic
#6B4BBD #BD4B64 #9DBD4B #4BBDA4
square
#6B4BBD #BD4B64 #9DBD4B #4BBDA4
split-complementary
#6B4BBD #BDA44B #64BD4B
monochromatic
#382668 #513694 #6B4BBD #9078CD #B5A5DE

Accessibility & contrast

On white

6.24
#6B4BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6B4BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4BBD
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4BBD#FFFFFF#000000##FFFFFF
##6B4BBD1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#54657D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b4bbd;
/* rgb */ color: rgb(107, 75, 189);
/* oklch */ color: oklch(50.8% 0.171 292.1);
Tailwind
colors: {
  custom: {
    50: '#9b7fd2',
    500: '#6b4bbd',
    950: '#000000',
  },
}
SCSS
$custom: #6b4bbd;
$custom-light: #9b7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4bbd",
  "rgb": {
    "r": 107,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 256.842,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.17114,
    "h": 292.1
  },
  "luminance": 0.11832
}

Semantic roles & 50–950 ramp

primary
#6B4BBD
secondary
#BDCB99
accent
#D652B1
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6B4BBD

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

Preview Lab → · Contrast checker → · Palette generator →

#6B4BBD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva