#6A5EF8#6A5EF8

#6A5EF8 is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 58.2% C 0.221 H 280.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6A5EF8
RGBrgb(106, 94, 248)
HSLhsl(245, 92%, 67%)
HSVhsv(245, 62%, 97%)
CMYKcmyk(57.3%, 62.1%, 0%, 2.7%)
CIE-LABlab(49.31, 46.72, -75.66)
CIE-LCHlch(49.31, 88.92, 301.69°)
OKLaboklab(58.24% 0.0404 -0.2176)
OKLCHoklch(58.24% 0.221 280.5)
XYZxyz(26.8845, 17.8451, 90.8165)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5EF8 #ECF85E
analogous
#5E9FF8 #6A5EF8 #B75EF8
triadic
#6A5EF8 #F86A5E #5EF86A
tetradic
#6A5EF8 #F85E9F #ECF85E #5EF8B7
square
#6A5EF8 #F85E9F #ECF85E #5EF8B7
split-complementary
#6A5EF8 #F8B75E #9FF85E
monochromatic
#1909D2 #3423F5 #6A5EF8 #A099FB #D7D3FD

Accessibility & contrast

On white

4.60
#6A5EF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#6A5EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5EF8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5EF8#FFFFFF#000000##FFFFFF
##6A5EF81.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFD
Deuteranopia (green-blind)
#006FF5
Tritanopia (blue-blind)
#0E84A2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a5ef8;
/* rgb */ color: rgb(106, 94, 248);
/* oklch */ color: oklch(58.2% 0.221 280.5);
Tailwind
colors: {
  custom: {
    50: '#a18cfc',
    500: '#6a5ef8',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ef8;
$custom-light: #a18cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ef8",
  "rgb": {
    "r": 106,
    "g": 94,
    "b": 248
  },
  "hsl": {
    "h": 244.675,
    "s": 91.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.58244,
    "c": 0.22128,
    "h": 280.5
  },
  "luminance": 0.17847
}

Semantic roles & 50–950 ramp

primary
#6A5EF8
secondary
#EEF1C0
accent
#E600D4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6A5EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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