#6B4CD2#6B4CD2

#6B4CD2 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.196 H 288.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6B4CD2
RGBrgb(107, 76, 210)
HSLhsl(254, 60%, 56%)
HSVhsv(254, 64%, 82%)
CMYKcmyk(49%, 63.8%, 0%, 17.6%)
CIE-LABlab(42.68, 45.82, -64.94)
CIE-LCHlch(42.68, 79.48, 305.20°)
OKLaboklab(52.55% 0.0619 -0.186)
OKLCHoklch(52.55% 0.196 288.4)
XYZxyz(20.2773, 12.9469, 62.3909)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4CD2 #B3D24C
analogous
#4C70D2 #6B4CD2 #AE4CD2
triadic
#6B4CD2 #D26B4C #4CD26B
tetradic
#6B4CD2 #D24C70 #B3D24C #4CD2AE
square
#6B4CD2 #D24C70 #B3D24C #4CD2AE
split-complementary
#6B4CD2 #D2AE4C #70D24C
monochromatic
#382183 #4C2DB4 #6B4CD2 #937DDE #BCAEEB

Accessibility & contrast

On white

5.85
#6B4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6B4CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4CD2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4CD2#FFFFFF#000000##FFFFFF
##6B4CD21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#476C88
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b4cd2;
/* rgb */ color: rgb(107, 76, 210);
/* oklch */ color: oklch(52.5% 0.196 288.4);
Tailwind
colors: {
  custom: {
    50: '#9d80e1',
    500: '#6b4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #6b4cd2;
$custom-light: #9d80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4cd2",
  "rgb": {
    "r": 107,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 253.881,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52547,
    "c": 0.19607,
    "h": 288.4
  },
  "luminance": 0.12948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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