#6A57CC#6A57CC

#6A57CC is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.8% C 0.174 H 286.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6A57CC
RGBrgb(106, 87, 204)
HSLhsl(250, 53%, 57%)
HSVhsv(250, 57%, 80%)
CMYKcmyk(48%, 57.4%, 0%, 20%)
CIE-LABlab(44.57, 37.52, -58.43)
CIE-LCHlch(44.57, 69.44, 302.71°)
OKLaboklab(53.77% 0.0492 -0.1669)
OKLCHoklch(53.77% 0.174 286.4)
XYZxyz(20.2479, 14.2393, 58.7966)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A57CC #B9CC57
analogous
#577ECC #6A57CC #A557CC
triadic
#6A57CC #CC6A57 #57CC6A
tetradic
#6A57CC #CC577E #B9CC57 #57CCA5
square
#6A57CC #CC577E #B9CC57 #57CCA5
split-complementary
#6A57CC #CCA557 #7ECC57
monochromatic
#362781 #4936B0 #6A57CC #9486DA #BDB5E9

Accessibility & contrast

On white

5.46
#6A57CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A57CC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A57CC#FFFFFF#000000##FFFFFF
##6A57CC1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#487189
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6a57cc;
/* rgb */ color: rgb(106, 87, 204);
/* oklch */ color: oklch(53.8% 0.174 286.4);
Tailwind
colors: {
  custom: {
    50: '#9b87dc',
    500: '#6a57cc',
    950: '#000000',
  },
}
SCSS
$custom: #6a57cc;
$custom-light: #9b87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a57cc",
  "rgb": {
    "r": 106,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 249.744,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53772,
    "c": 0.17401,
    "h": 286.4
  },
  "luminance": 0.1424
}

Semantic roles & 50–950 ramp

primary
#6A57CC
secondary
#CFD7A8
accent
#DD4BC5
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6A57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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