#6B4BBE#6B4BBE

#6B4BBE is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.172 H 291.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6B4BBE
RGBrgb(107, 75, 190)
HSLhsl(257, 47%, 52%)
HSVhsv(257, 61%, 75%)
CMYKcmyk(43.7%, 60.5%, 0%, 25.5%)
CIE-LABlab(41.02, 40.68, -56.05)
CIE-LCHlch(41.02, 69.26, 305.97°)
OKLaboklab(50.88% 0.0644 -0.1599)
OKLCHoklch(50.88% 0.172 291.9)
XYZxyz(17.8712, 11.8751, 50.0557)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4BBE #9EBE4B
analogous
#4B64BE #6B4BBE #A54BBE
triadic
#6B4BBE #BE6B4B #4BBE6B
tetradic
#6B4BBE #BE4B64 #9EBE4B #4BBEA5
square
#6B4BBE #BE4B64 #9EBE4B #4BBEA5
split-complementary
#6B4BBE #BEA54B #64BE4B
monochromatic
#382669 #513696 #6B4BBE #9078CE #B5A5DE

Accessibility & contrast

On white

6.22
#6B4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6B4BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4BBE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4BBE#FFFFFF#000000##FFFFFF
##6B4BBE1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#53657D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b4bbe;
/* rgb */ color: rgb(107, 75, 190);
/* oklch */ color: oklch(50.9% 0.172 291.9);
Tailwind
colors: {
  custom: {
    50: '#9b7fd2',
    500: '#6b4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #6b4bbe;
$custom-light: #9b7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4bbe",
  "rgb": {
    "r": 107,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 256.696,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50876,
    "c": 0.17241,
    "h": 291.9
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#6B4BBE
secondary
#BECC99
accent
#D751B1
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6B4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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