#6A57FA#6A57FA

#6A57FA is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.3% C 0.232 H 281.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6A57FA
RGBrgb(106, 87, 250)
HSLhsl(247, 94%, 66%)
HSVhsv(247, 65%, 98%)
CMYKcmyk(57.6%, 65.2%, 0%, 2%)
CIE-LABlab(47.98, 51.27, -78.94)
CIE-LCHlch(47.98, 94.13, 303.00°)
OKLaboklab(57.33% 0.0461 -0.2272)
OKLCHoklch(57.33% 0.232 281.5)
XYZxyz(26.6020, 16.7809, 92.2612)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A57FA #E7FA57
analogous
#5795FA #6A57FA #BB57FA
triadic
#6A57FA #FA6A57 #57FA6A
tetradic
#6A57FA #FA5795 #E7FA57 #57FABB
square
#6A57FA #FA5795 #E7FA57 #57FABB
split-complementary
#6A57FA #FABB57 #95FA57
monochromatic
#1E06D0 #351CF8 #6A57FA #9F92FC #D3CEFE

Accessibility & contrast

On white

4.82
#6A57FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#6A57FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A57FA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A57FA#FFFFFF#000000##FFFFFF
##6A57FA1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006CF7
Tritanopia (blue-blind)
#0981A1
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a57fa;
/* rgb */ color: rgb(106, 87, 250);
/* oklch */ color: oklch(57.3% 0.232 281.5);
Tailwind
colors: {
  custom: {
    50: '#a288fd',
    500: '#6a57fa',
    950: '#000000',
  },
}
SCSS
$custom: #6a57fa;
$custom-light: #a288fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a57fa",
  "rgb": {
    "r": 106,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 246.994,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.5733,
    "c": 0.23184,
    "h": 281.5
  },
  "luminance": 0.16783
}

Semantic roles & 50–950 ramp

primary
#6A57FA
secondary
#EBF1BC
accent
#E600CB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6A57FA

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

Preview Lab → · Contrast checker → · Palette generator →

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