#6B4BD3#6B4BD3

#6B4BD3 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.199 H 288.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6B4BD3
RGBrgb(107, 75, 211)
HSLhsl(254, 61%, 56%)
HSVhsv(254, 64%, 83%)
CMYKcmyk(49.3%, 64.5%, 0%, 17.3%)
CIE-LABlab(42.55, 46.66, -65.73)
CIE-LCHlch(42.55, 80.61, 305.37°)
OKLaboklab(52.48% 0.0628 -0.1884)
OKLCHoklch(52.48% 0.199 288.4)
XYZxyz(20.3339, 12.8602, 63.0262)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4BD3 #B3D34B
analogous
#4B6FD3 #6B4BD3 #AF4BD3
triadic
#6B4BD3 #D36B4B #4BD36B
tetradic
#6B4BD3 #D34B6F #B3D34B #4BD3AF
square
#6B4BD3 #D34B6F #B3D34B #4BD3AF
split-complementary
#6B4BD3 #D3AF4B #6FD34B
monochromatic
#382083 #4C2CB5 #6B4BD3 #937CDF #BCADEB

Accessibility & contrast

On white

5.88
#6B4BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6B4BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4BD3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4BD3#FFFFFF#000000##FFFFFF
##6B4BD31.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#476C88
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b4bd3;
/* rgb */ color: rgb(107, 75, 211);
/* oklch */ color: oklch(52.5% 0.199 288.4);
Tailwind
colors: {
  custom: {
    50: '#9e7fe1',
    500: '#6b4bd3',
    950: '#000000',
  },
}
SCSS
$custom: #6b4bd3;
$custom-light: #9e7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4bd3",
  "rgb": {
    "r": 107,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 254.118,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52475,
    "c": 0.19855,
    "h": 288.4
  },
  "luminance": 0.12861
}

Semantic roles & 50–950 ramp

primary
#6B4BD3
secondary
#CCD9A1
accent
#E444BE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B4BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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