#6A57BE#6A57BE

#6A57BE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 52.8% C 0.155 H 288.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#6A57BE
RGBrgb(106, 87, 190)
HSLhsl(251, 44%, 54%)
HSVhsv(251, 54%, 75%)
CMYKcmyk(44.2%, 54.2%, 0%, 25.5%)
CIE-LABlab(43.65, 33.40, -51.81)
CIE-LCHlch(43.65, 61.65, 302.81°)
OKLaboklab(52.79% 0.049 -0.1474)
OKLCHoklch(52.79% 0.155 288.4)
XYZxyz(18.6437, 13.5976, 50.3475)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A57BE #ABBE57
analogous
#5778BE #6A57BE #9E57BE
triadic
#6A57BE #BE6A57 #57BE6A
tetradic
#6A57BE #BE5778 #ABBE57 #57BE9E
square
#6A57BE #BE5778 #ABBE57 #57BE9E
split-complementary
#6A57BE #BE9E57 #78BE57
monochromatic
#382B6F #4E3C9C #6A57BE #9183CF #B8AFE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A57BE#FFFFFF#000000##FFFFFF
##6A57BE1.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)
#2369C2
Deuteranopia (green-blind)
#2465BC
Tritanopia (blue-blind)
#516D82
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6a57be;
/* rgb */ color: rgb(106, 87, 190);
/* oklch */ color: oklch(52.8% 0.155 288.4);
Tailwind
colors: {
  custom: {
    50: '#9a87d2',
    500: '#6a57be',
    950: '#000000',
  },
}
SCSS
$custom: #6a57be;
$custom-light: #9a87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a57be",
  "rgb": {
    "r": 106,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 251.068,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52793,
    "c": 0.15538,
    "h": 288.4
  },
  "luminance": 0.13598
}

Semantic roles & 50–950 ramp

primary
#6A57BE
secondary
#C6CEA3
accent
#D454BC
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6A57BE

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

Preview Lab → · Contrast checker → · Palette generator →

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