#6A54E9#6A54E9

#6A54E9 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.5% C 0.215 H 283.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6A54E9
RGBrgb(106, 84, 233)
HSLhsl(249, 77%, 62%)
HSVhsv(249, 64%, 91%)
CMYKcmyk(54.5%, 63.9%, 0%, 8.6%)
CIE-LABlab(46.02, 47.88, -72.60)
CIE-LCHlch(46.02, 86.97, 303.40°)
OKLaboklab(55.5% 0.0506 -0.2086)
OKLCHoklch(55.5% 0.215 283.6)
XYZxyz(23.8177, 15.2866, 78.7706)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A54E9 #D3E954
analogous
#5489E9 #6A54E9 #B554E9
triadic
#6A54E9 #E96A54 #54E96A
tetradic
#6A54E9 #E95489 #D3E954 #54E9B5
square
#6A54E9 #E95489 #D3E954 #54E9B5
split-complementary
#6A54E9 #E9B554 #89E954
monochromatic
#2C16AC #3B1EE2 #6A54E9 #998AF0 #C8C0F7

Accessibility & contrast

On white

5.18
#6A54E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6A54E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A54E9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A54E9#FFFFFF#000000##FFFFFF
##6A54E91.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#0068E6
Tritanopia (blue-blind)
#2F7997
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6a54e9;
/* rgb */ color: rgb(106, 84, 233);
/* oklch */ color: oklch(55.5% 0.215 283.6);
Tailwind
colors: {
  custom: {
    50: '#a085f1',
    500: '#6a54e9',
    950: '#000000',
  },
}
SCSS
$custom: #6a54e9;
$custom-light: #a085f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a54e9",
  "rgb": {
    "r": 106,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 248.859,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55497,
    "c": 0.21465,
    "h": 283.6
  },
  "luminance": 0.15288
}

Semantic roles & 50–950 ramp

primary
#6A54E9
secondary
#E0E8B1
accent
#D90CBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A54E9

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

Preview Lab → · Contrast checker → · Palette generator →

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