#6B4BD8#6B4BD8

#6B4BD8 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.9% C 0.205 H 287.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6B4BD8
RGBrgb(107, 75, 216)
HSLhsl(254, 64%, 57%)
HSVhsv(254, 65%, 85%)
CMYKcmyk(50.5%, 65.3%, 0%, 15.3%)
CIE-LABlab(42.94, 48.10, -67.97)
CIE-LCHlch(42.94, 83.27, 305.28°)
OKLaboklab(52.87% 0.0622 -0.195)
OKLCHoklch(52.87% 0.205 287.7)
XYZxyz(20.9705, 13.1148, 66.3789)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4BD8 #B8D84B
analogous
#4B72D8 #6B4BD8 #B24BD8
triadic
#6B4BD8 #D86B4B #4BD86B
tetradic
#6B4BD8 #D84B72 #B8D84B #4BD8B2
square
#6B4BD8 #D84B72 #B8D84B #4BD8B2
split-complementary
#6B4BD8 #D8B24B #72D84B
monochromatic
#371E8B #4B29BD #6B4BD8 #947DE3 #BEB0EE

Accessibility & contrast

On white

5.80
#6B4BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6B4BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4BD8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4BD8#FFFFFF#000000##FFFFFF
##6B4BD81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#436E8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b4bd8;
/* rgb */ color: rgb(107, 75, 216);
/* oklch */ color: oklch(52.9% 0.205 287.7);
Tailwind
colors: {
  custom: {
    50: '#9e7fe5',
    500: '#6b4bd8',
    950: '#000000',
  },
}
SCSS
$custom: #6b4bd8;
$custom-light: #9e7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4bd8",
  "rgb": {
    "r": 107,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 253.617,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52873,
    "c": 0.20464,
    "h": 287.7
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#6B4BD8
secondary
#CFDCA3
accent
#E740C1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6B4BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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