#6B4CD3#6B4CD3

#6B4CD3 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.197 H 288.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6B4CD3
RGBrgb(107, 76, 211)
HSLhsl(254, 61%, 56%)
HSVhsv(254, 64%, 83%)
CMYKcmyk(49.3%, 64%, 0%, 17.3%)
CIE-LABlab(42.76, 46.11, -65.39)
CIE-LCHlch(42.76, 80.01, 305.19°)
OKLaboklab(52.63% 0.0618 -0.1874)
OKLCHoklch(52.63% 0.197 288.2)
XYZxyz(20.4023, 12.9969, 63.0490)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4CD3 #B4D34C
analogous
#4C71D3 #6B4CD3 #AF4CD3
triadic
#6B4CD3 #D36B4C #4CD36B
tetradic
#6B4CD3 #D34C71 #B4D34C #4CD3AF
square
#6B4CD3 #D34C71 #B4D34C #4CD3AF
split-complementary
#6B4CD3 #D3AF4C #71D34C
monochromatic
#372084 #4C2DB5 #6B4CD3 #947DDF #BCAEEB

Accessibility & contrast

On white

5.83
#6B4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6B4CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4CD3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4CD3#FFFFFF#000000##FFFFFF
##6B4CD31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#476D89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b4cd3;
/* rgb */ color: rgb(107, 76, 211);
/* oklch */ color: oklch(52.6% 0.197 288.2);
Tailwind
colors: {
  custom: {
    50: '#9e80e1',
    500: '#6b4cd3',
    950: '#000000',
  },
}
SCSS
$custom: #6b4cd3;
$custom-light: #9e80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4cd3",
  "rgb": {
    "r": 107,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 253.778,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52625,
    "c": 0.1973,
    "h": 288.2
  },
  "luminance": 0.12998
}

Semantic roles & 50–950 ramp

primary
#6B4CD3
secondary
#CCD9A2
accent
#E444BF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B4CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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