#6B4BD4#6B4BD4

#6B4BD4 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.200 H 288.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6B4BD4
RGBrgb(107, 75, 212)
HSLhsl(254, 61%, 56%)
HSVhsv(254, 65%, 83%)
CMYKcmyk(49.5%, 64.6%, 0%, 16.9%)
CIE-LABlab(42.63, 46.95, -66.18)
CIE-LCHlch(42.63, 81.14, 305.35°)
OKLaboklab(52.55% 0.0627 -0.1897)
OKLCHoklch(52.55% 0.2 288.3)
XYZxyz(20.4597, 12.9105, 63.6885)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4BD4 #B4D44B
analogous
#4B70D4 #6B4BD4 #B04BD4
triadic
#6B4BD4 #D46B4B #4BD46B
tetradic
#6B4BD4 #D44B70 #B4D44B #4BD4B0
square
#6B4BD4 #D44B70 #B4D44B #4BD4B0
split-complementary
#6B4BD4 #D4B04B #70D44B
monochromatic
#372085 #4C2CB6 #6B4BD4 #947CE0 #BCAEEC

Accessibility & contrast

On white

5.86
#6B4BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6B4BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4BD4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4BD4#FFFFFF#000000##FFFFFF
##6B4BD41.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#466C89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b4bd4;
/* rgb */ color: rgb(107, 75, 212);
/* oklch */ color: oklch(52.6% 0.200 288.3);
Tailwind
colors: {
  custom: {
    50: '#9e7fe2',
    500: '#6b4bd4',
    950: '#000000',
  },
}
SCSS
$custom: #6b4bd4;
$custom-light: #9e7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4bd4",
  "rgb": {
    "r": 107,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 254.015,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52554,
    "c": 0.19978,
    "h": 288.3
  },
  "luminance": 0.12911
}

Semantic roles & 50–950 ramp

primary
#6B4BD4
secondary
#CCDAA1
accent
#E543BF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A15
muted
#7F7C84

Preview Lab

Preview with #6B4BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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