#6A5EFD#6A5EFD

#6A5EFD is a mid, highly saturated blue. Relative luminance 0.182; OKLCH L 58.6% C 0.227 H 280.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6A5EFD
RGBrgb(106, 94, 253)
HSLhsl(245, 98%, 68%)
HSVhsv(245, 63%, 99%)
CMYKcmyk(58.1%, 62.8%, 0%, 0.8%)
CIE-LABlab(49.69, 48.24, -77.82)
CIE-LCHlch(49.69, 91.56, 301.79°)
OKLaboklab(58.64% 0.04 -0.2239)
OKLCHoklch(58.64% 0.227 280.1)
XYZxyz(27.6706, 18.1595, 94.9565)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5EFD #F1FD5E
analogous
#5EA2FD #6A5EFD #B95EFD
triadic
#6A5EFD #FD6A5E #5EFD6A
tetradic
#6A5EFD #FD5EA2 #F1FD5E #5EFDB9
square
#6A5EFD #FD5EA2 #F1FD5E #5EFDB9
split-complementary
#6A5EFD #FDB95E #A2FD5E
monochromatic
#1303DE #3222FC #6A5EFD #A29AFE #DAD7FF

Accessibility & contrast

On white

4.53
#6A5EFD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#6A5EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A5EFD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5EFD#FFFFFF#000000##000000
##6A5EFD1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0070FA
Tritanopia (blue-blind)
#0086A5
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6a5efd;
/* rgb */ color: rgb(106, 94, 253);
/* oklch */ color: oklch(58.6% 0.227 280.1);
Tailwind
colors: {
  custom: {
    50: '#a28cff',
    500: '#6a5efd',
    950: '#000000',
  },
}
SCSS
$custom: #6a5efd;
$custom-light: #a28cff;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5efd",
  "rgb": {
    "r": 106,
    "g": 94,
    "b": 253
  },
  "hsl": {
    "h": 244.528,
    "s": 97.546,
    "l": 68.039
  },
  "oklch": {
    "l": 0.58641,
    "c": 0.22745,
    "h": 280.1
  },
  "luminance": 0.18161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A5EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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