#6A5DFA#6A5DFA

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

Color values

HEX#6A5DFA
RGBrgb(106, 93, 250)
HSLhsl(245, 94%, 67%)
HSVhsv(245, 63%, 98%)
CMYKcmyk(57.6%, 62.8%, 0%, 2%)
CIE-LABlab(49.24, 47.90, -76.88)
CIE-LCHlch(49.24, 90.58, 301.92°)
OKLaboklab(58.25% 0.0411 -0.2211)
OKLCHoklch(58.25% 0.225 280.5)
XYZxyz(27.1081, 17.7931, 92.4299)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5DFA #EDFA5D
analogous
#5D9FFA #6A5DFA #B85DFA
triadic
#6A5DFA #FA6A5D #5DFA6A
tetradic
#6A5DFA #FA5D9F #EDFA5D #5DFAB8
square
#6A5DFA #FA5D9F #EDFA5D #5DFAB8
split-complementary
#6A5DFA #FAB85D #9FFA5D
monochromatic
#1807D6 #3322F8 #6A5DFA #A198FC #D7D4FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A5DFA#FFFFFF#000000##FFFFFF
##6A5DFA1.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)
#007BFF
Deuteranopia (green-blind)
#006FF7
Tritanopia (blue-blind)
#0584A3
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a5dfa;
/* rgb */ color: rgb(106, 93, 250);
/* oklch */ color: oklch(58.2% 0.225 280.5);
Tailwind
colors: {
  custom: {
    50: '#a18cfd',
    500: '#6a5dfa',
    950: '#000000',
  },
}
SCSS
$custom: #6a5dfa;
$custom-light: #a18cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5dfa",
  "rgb": {
    "r": 106,
    "g": 93,
    "b": 250
  },
  "hsl": {
    "h": 244.968,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.58245,
    "c": 0.22493,
    "h": 280.5
  },
  "luminance": 0.17795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A5DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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