#6A5CA6#6A5CA6

#6A5CA6 is a mid, moderate violet. Relative luminance 0.135; OKLCH L 52.2% C 0.114 H 290.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6A5CA6
RGBrgb(106, 92, 166)
HSLhsl(251, 29%, 51%)
HSVhsv(251, 45%, 65%)
CMYKcmyk(36.1%, 44.6%, 0%, 34.9%)
CIE-LABlab(43.46, 23.46, -38.03)
CIE-LCHlch(43.46, 44.68, 301.68°)
OKLaboklab(52.2% 0.0402 -0.107)
OKLCHoklch(52.2% 0.114 290.6)
XYZxyz(16.6521, 13.4712, 37.7919)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CA6 #98A65C
analogous
#5C73A6 #6A5CA6 #8F5CA6
triadic
#6A5CA6 #A66A5C #5CA66A
tetradic
#6A5CA6 #A65C73 #98A65C #5CA68F
square
#6A5CA6 #A65C73 #98A65C #5CA68F
split-complementary
#6A5CA6 #A68F5C #73A65C
monochromatic
#373058 #50467F #6A5CA6 #8E84BC #B2ABD1

Accessibility & contrast

On white

5.68
#6A5CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6A5CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CA6
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CA6#FFFFFF#000000##FFFFFF
##6A5CA61.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4368A9
Deuteranopia (green-blind)
#4465A4
Tritanopia (blue-blind)
#5B6A79
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6a5ca6;
/* rgb */ color: rgb(106, 92, 166);
/* oklch */ color: oklch(52.2% 0.114 290.6);
Tailwind
colors: {
  custom: {
    50: '#978ac1',
    500: '#6a5ca6',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ca6;
$custom-light: #978ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ca6",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 251.351,
    "s": 29.365,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.11433,
    "h": 290.6
  },
  "luminance": 0.13472
}

Semantic roles & 50–950 ramp

primary
#6A5CA6
secondary
#B9BF9E
accent
#C662B3
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0E0B12
muted
#7E7C81

Preview Lab

Preview with #6A5CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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