#6A5DF9#6A5DF9

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

Color values

HEX#6A5DF9
RGBrgb(106, 93, 249)
HSLhsl(245, 93%, 67%)
HSVhsv(245, 63%, 98%)
CMYKcmyk(57.4%, 62.7%, 0%, 2.4%)
CIE-LABlab(49.17, 47.59, -76.45)
CIE-LCHlch(49.17, 90.05, 301.90°)
OKLaboklab(58.17% 0.0412 -0.2199)
OKLCHoklch(58.17% 0.224 280.6)
XYZxyz(26.9517, 17.7306, 91.6063)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5DF9 #ECF95D
analogous
#5D9EF9 #6A5DF9 #B85DF9
triadic
#6A5DF9 #F96A5D #5DF96A
tetradic
#6A5DF9 #F95D9E #ECF95D #5DF9B8
square
#6A5DF9 #F95D9E #ECF95D #5DF9B8
split-complementary
#6A5DF9 #F9B85D #9EF95D
monochromatic
#1908D4 #3422F7 #6A5DF9 #A098FB #D7D3FD

Accessibility & contrast

On white

4.62
#6A5DF9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#6A5DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5DF9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5DF9#FFFFFF#000000##FFFFFF
##6A5DF91.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFE
Deuteranopia (green-blind)
#006FF6
Tritanopia (blue-blind)
#0B84A3
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a5df9;
/* rgb */ color: rgb(106, 93, 249);
/* oklch */ color: oklch(58.2% 0.224 280.6);
Tailwind
colors: {
  custom: {
    50: '#a18cfc',
    500: '#6a5df9',
    950: '#000000',
  },
}
SCSS
$custom: #6a5df9;
$custom-light: #a18cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5df9",
  "rgb": {
    "r": 106,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 245,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.58166,
    "c": 0.22369,
    "h": 280.6
  },
  "luminance": 0.17732
}

Semantic roles & 50–950 ramp

primary
#6A5DF9
secondary
#EEF2C0
accent
#E600D2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6A5DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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