#6B4AE6#6B4AE6

#6B4AE6 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.223 H 285.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6B4AE6
RGBrgb(107, 74, 230)
HSLhsl(253, 76%, 60%)
HSVhsv(253, 68%, 90%)
CMYKcmyk(53.5%, 67.8%, 0%, 9.8%)
CIE-LABlab(43.85, 52.65, -74.45)
CIE-LCHlch(43.85, 91.19, 305.27°)
OKLaboklab(53.88% 0.0611 -0.214)
OKLCHoklch(53.88% 0.223 285.9)
XYZxyz(22.7908, 13.7353, 76.2978)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4AE6 #C5E64A
analogous
#4A77E6 #6B4AE6 #B94AE6
triadic
#6B4AE6 #E66B4A #4AE66B
tetradic
#6B4AE6 #E64A77 #C5E64A #4AE6B9
square
#6B4AE6 #E64A77 #C5E64A #4AE6B9
split-complementary
#6B4AE6 #E6B94A #77E64A
monochromatic
#3316A0 #441DD5 #6B4AE6 #9780ED #C3B6F5

Accessibility & contrast

On white

5.60
#6B4AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6B4AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4AE6
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4AE6#FFFFFF#000000##FFFFFF
##6B4AE61.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0063E3
Tritanopia (blue-blind)
#377292
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6b4ae6;
/* rgb */ color: rgb(107, 74, 230);
/* oklch */ color: oklch(53.9% 0.223 285.9);
Tailwind
colors: {
  custom: {
    50: '#a07fef',
    500: '#6b4ae6',
    950: '#000000',
  },
}
SCSS
$custom: #6b4ae6;
$custom-light: #a07fef;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4ae6",
  "rgb": {
    "r": 107,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 252.692,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53877,
    "c": 0.22255,
    "h": 285.9
  },
  "luminance": 0.13737
}

Semantic roles & 50–950 ramp

primary
#6B4AE6
secondary
#D7E4A8
accent
#F235CA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6B4AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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