#6A57BB#6A57BB

#6A57BB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.6% C 0.151 H 288.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#6A57BB
RGBrgb(106, 87, 187)
HSLhsl(251, 42%, 54%)
HSVhsv(251, 53%, 73%)
CMYKcmyk(43.3%, 53.5%, 0%, 26.7%)
CIE-LABlab(43.46, 32.53, -50.37)
CIE-LCHlch(43.46, 59.96, 302.85°)
OKLaboklab(52.59% 0.0489 -0.1432)
OKLCHoklch(52.59% 0.151 288.8)
XYZxyz(18.3192, 13.4678, 48.6384)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A57BB #A8BB57
analogous
#5776BB #6A57BB #9C57BB
triadic
#6A57BB #BB6A57 #57BB6A
tetradic
#6A57BB #BB5776 #A8BB57 #57BB9C
square
#6A57BB #BB5776 #A8BB57 #57BB9C
split-complementary
#6A57BB #BB9C57 #76BB57
monochromatic
#382C6C #4E3D97 #6A57BB #9183CD #B7AEDE

Accessibility & contrast

On white

5.69
#6A57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A57BB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A57BB#FFFFFF#000000##FFFFFF
##6A57BB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769BE
Deuteranopia (green-blind)
#2864B9
Tritanopia (blue-blind)
#526C80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6a57bb;
/* rgb */ color: rgb(106, 87, 187);
/* oklch */ color: oklch(52.6% 0.151 288.8);
Tailwind
colors: {
  custom: {
    50: '#9987d0',
    500: '#6a57bb',
    950: '#000000',
  },
}
SCSS
$custom: #6a57bb;
$custom-light: #9987d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a57bb",
  "rgb": {
    "r": 106,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 251.4,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52591,
    "c": 0.15132,
    "h": 288.8
  },
  "luminance": 0.13468
}

Semantic roles & 50–950 ramp

primary
#6A57BB
secondary
#C4CCA2
accent
#D256BB
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6A57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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