#6D5FA8#6D5FA8

#6D5FA8 is a mid, moderate violet. Relative luminance 0.143; OKLCH L 53.2% C 0.112 H 290.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6D5FA8
RGBrgb(109, 95, 168)
HSLhsl(252, 30%, 52%)
HSVhsv(252, 43%, 66%)
CMYKcmyk(35.1%, 43.5%, 0%, 34.1%)
CIE-LABlab(44.61, 23.02, -37.38)
CIE-LCHlch(44.61, 43.90, 301.62°)
OKLaboklab(53.16% 0.0401 -0.1051)
OKLCHoklch(53.16% 0.112 290.9)
XYZxyz(17.4649, 14.2624, 38.8709)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5FA8 #9AA85F
analogous
#5F76A8 #6D5FA8 #925FA8
triadic
#6D5FA8 #A86D5F #5FA86D
tetradic
#6D5FA8 #A85F76 #9AA85F #5FA892
square
#6D5FA8 #A85F76 #9AA85F #5FA892
split-complementary
#6D5FA8 #A8925F #76A85F
monochromatic
#39325B #534783 #6D5FA8 #9187BE #B5AED3

Accessibility & contrast

On white

5.45
#6D5FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6D5FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D5FA8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D5FA8#FFFFFF#000000##FFFFFF
##6D5FA81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476BAB
Deuteranopia (green-blind)
#4868A6
Tritanopia (blue-blind)
#5F6D7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6d5fa8;
/* rgb */ color: rgb(109, 95, 168);
/* oklch */ color: oklch(53.2% 0.112 290.9);
Tailwind
colors: {
  custom: {
    50: '#998cc2',
    500: '#6d5fa8',
    950: '#000000',
  },
}
SCSS
$custom: #6d5fa8;
$custom-light: #998cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5fa8",
  "rgb": {
    "r": 109,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 251.507,
    "s": 29.555,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53162,
    "c": 0.11248,
    "h": 290.9
  },
  "luminance": 0.14263
}

Semantic roles & 50–950 ramp

primary
#6D5FA8
secondary
#BBC1A1
accent
#C662B3
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C12
muted
#7E7D81

Preview Lab

Preview with #6D5FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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