#6B4ED9#6B4ED9

#6B4ED9 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.4% C 0.202 H 287.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#6B4ED9
RGBrgb(107, 78, 217)
HSLhsl(253, 65%, 58%)
HSVhsv(253, 64%, 85%)
CMYKcmyk(50.7%, 64.1%, 0%, 14.9%)
CIE-LABlab(43.63, 46.72, -67.41)
CIE-LCHlch(43.63, 82.02, 304.72°)
OKLaboklab(53.4% 0.0592 -0.1933)
OKLCHoklch(53.4% 0.202 287)
XYZxyz(21.3085, 13.5833, 67.1312)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4ED9 #BCD94E
analogous
#4E76D9 #6B4ED9 #B04ED9
triadic
#6B4ED9 #D96B4E #4ED96B
tetradic
#6B4ED9 #D94E76 #BCD94E #4ED9B0
square
#6B4ED9 #D94E76 #BCD94E #4ED9B0
split-complementary
#6B4ED9 #D9B04E #76D94E
monochromatic
#361F8E #4929C0 #6B4ED9 #9580E4 #BFB3EF

Accessibility & contrast

On white

5.65
#6B4ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6B4ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4ED9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4ED9#FFFFFF#000000##FFFFFF
##6B4ED91.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#42708C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6b4ed9;
/* rgb */ color: rgb(107, 78, 217);
/* oklch */ color: oklch(53.4% 0.202 287.0);
Tailwind
colors: {
  custom: {
    50: '#9e81e6',
    500: '#6b4ed9',
    950: '#000000',
  },
}
SCSS
$custom: #6b4ed9;
$custom-light: #9e81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4ed9",
  "rgb": {
    "r": 107,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 252.518,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53398,
    "c": 0.20218,
    "h": 287
  },
  "luminance": 0.13584
}

Semantic roles & 50–950 ramp

primary
#6B4ED9
secondary
#D2DDA6
accent
#E840C5
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6B4ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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