#6B4EBE#6B4EBE

#6B4EBE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.4% C 0.168 H 291.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6B4EBE
RGBrgb(107, 78, 190)
HSLhsl(256, 46%, 53%)
HSVhsv(256, 59%, 75%)
CMYKcmyk(43.7%, 58.9%, 0%, 25.5%)
CIE-LABlab(41.68, 38.95, -54.99)
CIE-LCHlch(41.68, 67.39, 305.31°)
OKLaboklab(51.36% 0.061 -0.1568)
OKLCHoklch(51.36% 0.168 291.3)
XYZxyz(18.0795, 12.2917, 50.1252)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4EBE #A1BE4E
analogous
#4E69BE #6B4EBE #A34EBE
triadic
#6B4EBE #BE6B4E #4EBE6B
tetradic
#6B4EBE #BE4E69 #A1BE4E #4EBEA3
square
#6B4EBE #BE4E69 #A1BE4E #4EBEA3
split-complementary
#6B4EBE #BEA34E #69BE4E
monochromatic
#39276A #503897 #6B4EBE #907BCE #B6A8DF

Accessibility & contrast

On white

6.07
#6B4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6B4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4EBE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4EBE#FFFFFF#000000##FFFFFF
##6B4EBE1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#0760BC
Tritanopia (blue-blind)
#53677E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b4ebe;
/* rgb */ color: rgb(107, 78, 190);
/* oklch */ color: oklch(51.4% 0.168 291.3);
Tailwind
colors: {
  custom: {
    50: '#9b81d2',
    500: '#6b4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #6b4ebe;
$custom-light: #9b81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4ebe",
  "rgb": {
    "r": 107,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 255.536,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51358,
    "c": 0.16822,
    "h": 291.3
  },
  "luminance": 0.12292
}

Semantic roles & 50–950 ramp

primary
#6B4EBE
secondary
#C0CC9C
accent
#D652B4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6B4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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