#6A54F3#6A54F3

#6A54F3 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.3% C 0.227 H 282.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6A54F3
RGBrgb(106, 84, 243)
HSLhsl(248, 87%, 64%)
HSVhsv(248, 65%, 95%)
CMYKcmyk(56.4%, 65.4%, 0%, 4.7%)
CIE-LABlab(46.81, 50.85, -76.95)
CIE-LCHlch(46.81, 92.23, 303.46°)
OKLaboklab(56.31% 0.0495 -0.2213)
OKLCHoklch(56.31% 0.227 282.6)
XYZxyz(25.2868, 15.8743, 86.5082)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A54F3 #DDF354
analogous
#548EF3 #6A54F3 #BA54F3
triadic
#6A54F3 #F36A54 #54F36A
tetradic
#6A54F3 #F3548E #DDF354 #54F3BA
square
#6A54F3 #F3548E #DDF354 #54F3BA
split-complementary
#6A54F3 #F3BA54 #8EF354
monochromatic
#260DBF #381BEF #6A54F3 #9C8DF7 #CEC6FB

Accessibility & contrast

On white

5.03
#6A54F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6A54F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A54F3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A54F3#FFFFFF#000000##FFFFFF
##6A54F31.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F8
Deuteranopia (green-blind)
#0069F0
Tritanopia (blue-blind)
#1F7D9C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6a54f3;
/* rgb */ color: rgb(106, 84, 243);
/* oklch */ color: oklch(56.3% 0.227 282.6);
Tailwind
colors: {
  custom: {
    50: '#a186f8',
    500: '#6a54f3',
    950: '#000000',
  },
}
SCSS
$custom: #6a54f3;
$custom-light: #a186f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a54f3",
  "rgb": {
    "r": 106,
    "g": 84,
    "b": 243
  },
  "hsl": {
    "h": 248.302,
    "s": 86.885,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56309,
    "c": 0.22681,
    "h": 282.6
  },
  "luminance": 0.15876
}

Semantic roles & 50–950 ramp

primary
#6A54F3
secondary
#E5EDB6
accent
#E302C4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A54F3

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

Preview Lab → · Contrast checker → · Palette generator →

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