#6A54EA#6A54EA

#6A54EA is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.6% C 0.216 H 283.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6A54EA
RGBrgb(106, 84, 234)
HSLhsl(249, 78%, 62%)
HSVhsv(249, 64%, 92%)
CMYKcmyk(54.7%, 64.1%, 0%, 8.2%)
CIE-LABlab(46.10, 48.18, -73.04)
CIE-LCHlch(46.10, 87.50, 303.41°)
OKLaboklab(55.58% 0.0505 -0.2099)
OKLCHoklch(55.58% 0.216 283.5)
XYZxyz(23.9609, 15.3439, 79.5250)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A54EA #D4EA54
analogous
#5489EA #6A54EA #B554EA
triadic
#6A54EA #EA6A54 #54EA6A
tetradic
#6A54EA #EA5489 #D4EA54 #54EAB5
square
#6A54EA #EA5489 #D4EA54 #54EAB5
split-complementary
#6A54EA #EAB554 #89EA54
monochromatic
#2C15AE #3B1DE3 #6A54EA #998BF1 #C9C1F7

Accessibility & contrast

On white

5.16
#6A54EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6A54EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A54EA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A54EA#FFFFFF#000000##FFFFFF
##6A54EA1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#2E7998
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6a54ea;
/* rgb */ color: rgb(106, 84, 234);
/* oklch */ color: oklch(55.6% 0.216 283.5);
Tailwind
colors: {
  custom: {
    50: '#a085f2',
    500: '#6a54ea',
    950: '#000000',
  },
}
SCSS
$custom: #6a54ea;
$custom-light: #a085f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a54ea",
  "rgb": {
    "r": 106,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 248.8,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55577,
    "c": 0.21587,
    "h": 283.5
  },
  "luminance": 0.15345
}

Semantic roles & 50–950 ramp

primary
#6A54EA
secondary
#E0E8B2
accent
#DA0BBC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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