#6A5DF3#6A5DF3

#6A5DF3 is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.7% C 0.216 H 281.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6A5DF3
RGBrgb(106, 93, 243)
HSLhsl(245, 86%, 66%)
HSVhsv(245, 62%, 95%)
CMYKcmyk(56.4%, 61.7%, 0%, 4.7%)
CIE-LABlab(48.71, 45.77, -73.84)
CIE-LCHlch(48.71, 86.87, 301.79°)
OKLaboklab(57.69% 0.0416 -0.2122)
OKLCHoklch(57.69% 0.216 281.1)
XYZxyz(26.0308, 17.3622, 86.7562)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5DF3 #E6F35D
analogous
#5D9BF3 #6A5DF3 #B55DF3
triadic
#6A5DF3 #F36A5D #5DF36A
tetradic
#6A5DF3 #F35D9B #E6F35D #5DF3B5
square
#6A5DF3 #F35D9B #E6F35D #5DF3B5
split-complementary
#6A5DF3 #F3B55D #9BF35D
monochromatic
#1F0FC7 #3624EF #6A5DF3 #9E96F7 #D3CFFB

Accessibility & contrast

On white

4.70
#6A5DF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#6A5DF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5DF3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5DF3#FFFFFF#000000##FFFFFF
##6A5DF31.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#006EF0
Tritanopia (blue-blind)
#1D829F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6a5df3;
/* rgb */ color: rgb(106, 93, 243);
/* oklch */ color: oklch(57.7% 0.216 281.1);
Tailwind
colors: {
  custom: {
    50: '#a08cf8',
    500: '#6a5df3',
    950: '#000000',
  },
}
SCSS
$custom: #6a5df3;
$custom-light: #a08cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5df3",
  "rgb": {
    "r": 106,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 245.2,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.57692,
    "c": 0.21625,
    "h": 281.1
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#6A5DF3
secondary
#EAEFBD
accent
#E303CF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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