#6B4CD6#6B4CD6

#6B4CD6 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 52.9% C 0.201 H 287.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6B4CD6
RGBrgb(107, 76, 214)
HSLhsl(253, 63%, 57%)
HSVhsv(253, 64%, 84%)
CMYKcmyk(50%, 64.5%, 0%, 16.1%)
CIE-LABlab(42.99, 46.97, -66.74)
CIE-LCHlch(42.99, 81.61, 305.14°)
OKLaboklab(52.86% 0.0615 -0.1913)
OKLCHoklch(52.86% 0.201 287.8)
XYZxyz(20.7819, 13.1488, 65.0482)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4CD6 #B7D64C
analogous
#4C72D6 #6B4CD6 #B04CD6
triadic
#6B4CD6 #D66B4C #4CD66B
tetradic
#6B4CD6 #D64C72 #B7D64C #4CD6B0
square
#6B4CD6 #D64C72 #B7D64C #4CD6B0
split-complementary
#6B4CD6 #D6B04C #72D64C
monochromatic
#371F88 #4B2BBA #6B4CD6 #947EE1 #BDB0ED

Accessibility & contrast

On white

5.79
#6B4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6B4CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4CD6
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4CD6#FFFFFF#000000##FFFFFF
##6B4CD61.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0062D3
Tritanopia (blue-blind)
#456E8A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b4cd6;
/* rgb */ color: rgb(107, 76, 214);
/* oklch */ color: oklch(52.9% 0.201 287.8);
Tailwind
colors: {
  custom: {
    50: '#9e80e4',
    500: '#6b4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #6b4cd6;
$custom-light: #9e80e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4cd6",
  "rgb": {
    "r": 107,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 253.478,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52861,
    "c": 0.20098,
    "h": 287.8
  },
  "luminance": 0.1315
}

Semantic roles & 50–950 ramp

primary
#6B4CD6
secondary
#CEDBA3
accent
#E642C1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6B4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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