#6A5AF2#6A5AF2

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

Color values

HEX#6A5AF2
RGBrgb(106, 90, 242)
HSLhsl(246, 85%, 65%)
HSVhsv(246, 63%, 95%)
CMYKcmyk(56.2%, 62.8%, 0%, 5.1%)
CIE-LABlab(47.99, 47.18, -74.46)
CIE-LCHlch(47.99, 88.15, 302.36°)
OKLaboklab(57.14% 0.0444 -0.214)
OKLCHoklch(57.14% 0.219 281.7)
XYZxyz(25.6221, 16.7856, 85.8770)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5AF2 #E2F25A
analogous
#5A96F2 #6A5AF2 #B65AF2
triadic
#6A5AF2 #F26A5A #5AF26A
tetradic
#6A5AF2 #F25A96 #E2F25A #5AF2B6
square
#6A5AF2 #F25A96 #E2F25A #5AF2B6
split-complementary
#6A5AF2 #F2B65A #96F25A
monochromatic
#220FC2 #3721EE #6A5AF2 #9D93F6 #D0CBFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A5AF2#FFFFFF#000000##FFFFFF
##6A5AF21.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)
#0077F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#20809E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a5af2;
/* rgb */ color: rgb(106, 90, 242);
/* oklch */ color: oklch(57.1% 0.219 281.7);
Tailwind
colors: {
  custom: {
    50: '#a08af7',
    500: '#6a5af2',
    950: '#000000',
  },
}
SCSS
$custom: #6a5af2;
$custom-light: #a08af7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5af2",
  "rgb": {
    "r": 106,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 246.316,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.5714,
    "c": 0.21859,
    "h": 281.7
  },
  "luminance": 0.16787
}

Semantic roles & 50–950 ramp

primary
#6A5AF2
secondary
#E8EEBA
accent
#E204CA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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