#6B4DD2#6B4DD2

#6B4DD2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.195 H 288.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6B4DD2
RGBrgb(107, 77, 210)
HSLhsl(254, 60%, 56%)
HSVhsv(254, 63%, 82%)
CMYKcmyk(49%, 63.3%, 0%, 17.6%)
CIE-LABlab(42.89, 45.26, -64.60)
CIE-LCHlch(42.89, 78.88, 305.01°)
OKLaboklab(52.7% 0.0609 -0.185)
OKLCHoklch(52.7% 0.195 288.2)
XYZxyz(20.3468, 13.0858, 62.4140)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4DD2 #B4D24D
analogous
#4D72D2 #6B4DD2 #AE4DD2
triadic
#6B4DD2 #D26B4D #4DD26B
tetradic
#6B4DD2 #D24D72 #B4D24D #4DD2AE
square
#6B4DD2 #D24D72 #B4D24D #4DD2AE
split-complementary
#6B4DD2 #D2AE4D #72D24D
monochromatic
#372183 #4C2EB4 #6B4DD2 #947EDE #BCAFEB

Accessibility & contrast

On white

5.81
#6B4DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B4DD2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4DD2#FFFFFF#000000##FFFFFF
##6B4DD21.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b4dd2;
/* rgb */ color: rgb(107, 77, 210);
/* oklch */ color: oklch(52.7% 0.195 288.2);
Tailwind
colors: {
  custom: {
    50: '#9d80e1',
    500: '#6b4dd2',
    950: '#000000',
  },
}
SCSS
$custom: #6b4dd2;
$custom-light: #9d80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4dd2",
  "rgb": {
    "r": 107,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 253.534,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52698,
    "c": 0.1948,
    "h": 288.2
  },
  "luminance": 0.13087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B4DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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