#6A5AEF#6A5AEF

#6A5AEF is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.9% C 0.215 H 282.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6A5AEF
RGBrgb(106, 90, 239)
HSLhsl(246, 82%, 65%)
HSVhsv(246, 62%, 94%)
CMYKcmyk(55.6%, 62.3%, 0%, 6.3%)
CIE-LABlab(47.76, 46.27, -73.15)
CIE-LCHlch(47.76, 86.56, 302.32°)
OKLaboklab(56.9% 0.0446 -0.2102)
OKLCHoklch(56.9% 0.215 282)
XYZxyz(25.1752, 16.6069, 83.5235)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5AEF #DFEF5A
analogous
#5A95EF #6A5AEF #B55AEF
triadic
#6A5AEF #EF6A5A #5AEF6A
tetradic
#6A5AEF #EF5A95 #DFEF5A #5AEFB5
square
#6A5AEF #EF5A95 #DFEF5A #5AEFB5
split-complementary
#6A5AEF #EFB55A #95EF5A
monochromatic
#2512BC #3822EA #6A5AEF #9C92F4 #CFCAFA

Accessibility & contrast

On white

4.86
#6A5AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#6A5AEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5AEF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5AEF#FFFFFF#000000##FFFFFF
##6A5AEF1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F4
Deuteranopia (green-blind)
#006CEC
Tritanopia (blue-blind)
#257F9C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6a5aef;
/* rgb */ color: rgb(106, 90, 239);
/* oklch */ color: oklch(56.9% 0.215 282.0);
Tailwind
colors: {
  custom: {
    50: '#a089f5',
    500: '#6a5aef',
    950: '#000000',
  },
}
SCSS
$custom: #6a5aef;
$custom-light: #a089f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5aef",
  "rgb": {
    "r": 106,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 246.443,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56903,
    "c": 0.21488,
    "h": 282
  },
  "luminance": 0.16608
}

Semantic roles & 50–950 ramp

primary
#6A5AEF
secondary
#E7ECB9
accent
#DF07C8
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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