#6B4BD2#6B4BD2

#6B4BD2 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.197 H 288.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6B4BD2
RGBrgb(107, 75, 210)
HSLhsl(254, 60%, 56%)
HSVhsv(254, 64%, 82%)
CMYKcmyk(49%, 64.3%, 0%, 17.6%)
CIE-LABlab(42.48, 46.38, -65.28)
CIE-LCHlch(42.48, 80.07, 305.39°)
OKLaboklab(52.4% 0.0629 -0.187)
OKLCHoklch(52.4% 0.197 288.6)
XYZxyz(20.2090, 12.8102, 62.3681)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4BD2 #B2D24B
analogous
#4B6ED2 #6B4BD2 #AE4BD2
triadic
#6B4BD2 #D26B4B #4BD26B
tetradic
#6B4BD2 #D24B6E #B2D24B #4BD2AE
square
#6B4BD2 #D24B6E #B2D24B #4BD2AE
split-complementary
#6B4BD2 #D2AE4B #6ED24B
monochromatic
#382182 #4D2DB3 #6B4BD2 #937CDE #BCADEA

Accessibility & contrast

On white

5.90
#6B4BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6B4BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4BD2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4BD2#FFFFFF#000000##FFFFFF
##6B4BD21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#486C88
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b4bd2;
/* rgb */ color: rgb(107, 75, 210);
/* oklch */ color: oklch(52.4% 0.197 288.6);
Tailwind
colors: {
  custom: {
    50: '#9e7fe1',
    500: '#6b4bd2',
    950: '#000000',
  },
}
SCSS
$custom: #6b4bd2;
$custom-light: #9e7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4bd2",
  "rgb": {
    "r": 107,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 254.222,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52397,
    "c": 0.19733,
    "h": 288.6
  },
  "luminance": 0.12811
}

Semantic roles & 50–950 ramp

primary
#6B4BD2
secondary
#CBD8A0
accent
#E345BE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B4BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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