#6A57DB#6A57DB

#6A57DB is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.9% C 0.193 H 284.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6A57DB
RGBrgb(106, 87, 219)
HSLhsl(249, 65%, 60%)
HSVhsv(249, 60%, 86%)
CMYKcmyk(51.6%, 60.3%, 0%, 14.1%)
CIE-LABlab(45.63, 41.99, -65.31)
CIE-LCHlch(45.63, 77.65, 302.74°)
OKLaboklab(54.88% 0.0488 -0.1872)
OKLCHoklch(54.88% 0.193 284.6)
XYZxyz(22.1344, 14.9939, 68.7319)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A57DB #C8DB57
analogous
#5786DB #6A57DB #AC57DB
triadic
#6A57DB #DB6A57 #57DB6A
tetradic
#6A57DB #DB5786 #C8DB57 #57DBAC
square
#6A57DB #DB5786 #C8DB57 #57DBAC
split-complementary
#6A57DB #DBAC57 #86DB57
monochromatic
#312097 #422BCA #6A57DB #9789E6 #C3BCF1

Accessibility & contrast

On white

5.25
#6A57DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6A57DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A57DB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A57DB#FFFFFF#000000##FFFFFF
##6A57DB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#3D7691
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6a57db;
/* rgb */ color: rgb(106, 87, 219);
/* oklch */ color: oklch(54.9% 0.193 284.6);
Tailwind
colors: {
  custom: {
    50: '#9d87e7',
    500: '#6a57db',
    950: '#000000',
  },
}
SCSS
$custom: #6a57db;
$custom-light: #9d87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a57db",
  "rgb": {
    "r": 106,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 248.636,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.54878,
    "c": 0.19341,
    "h": 284.6
  },
  "luminance": 0.14995
}

Semantic roles & 50–950 ramp

primary
#6A57DB
secondary
#D9E0AD
accent
#E840D0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6A57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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