#6A5EF7#6A5EF7

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

Color values

HEX#6A5EF7
RGBrgb(106, 94, 247)
HSLhsl(245, 91%, 67%)
HSVhsv(245, 62%, 97%)
CMYKcmyk(57.1%, 61.9%, 0%, 3.1%)
CIE-LABlab(49.23, 46.41, -75.23)
CIE-LCHlch(49.23, 88.39, 301.67°)
OKLaboklab(58.17% 0.0405 -0.2163)
OKLCHoklch(58.17% 0.22 280.6)
XYZxyz(26.7298, 17.7832, 90.0016)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5EF7 #EBF75E
analogous
#5E9FF7 #6A5EF7 #B75EF7
triadic
#6A5EF7 #F76A5E #5EF76A
tetradic
#6A5EF7 #F75E9F #EBF75E #5EF7B7
square
#6A5EF7 #F75E9F #EBF75E #5EF7B7
split-complementary
#6A5EF7 #F7B75E #9FF75E
monochromatic
#1A0AD0 #3424F4 #6A5EF7 #A098FA #D6D3FD

Accessibility & contrast

On white

4.61
#6A5EF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#6A5EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5EF7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5EF7#FFFFFF#000000##FFFFFF
##6A5EF71.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFC
Deuteranopia (green-blind)
#006FF4
Tritanopia (blue-blind)
#1284A2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a5ef7;
/* rgb */ color: rgb(106, 94, 247);
/* oklch */ color: oklch(58.2% 0.220 280.6);
Tailwind
colors: {
  custom: {
    50: '#a18cfb',
    500: '#6a5ef7',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ef7;
$custom-light: #a18cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ef7",
  "rgb": {
    "r": 106,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 244.706,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.58165,
    "c": 0.22003,
    "h": 280.6
  },
  "luminance": 0.17785
}

Semantic roles & 50–950 ramp

primary
#6A5EF7
secondary
#EDF1C0
accent
#E600D3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6A5EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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