#6A54DB#6A54DB

#6A54DB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.4% C 0.197 H 285.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6A54DB
RGBrgb(106, 84, 219)
HSLhsl(250, 65%, 59%)
HSVhsv(250, 62%, 86%)
CMYKcmyk(51.6%, 61.6%, 0%, 14.1%)
CIE-LABlab(44.97, 43.72, -66.38)
CIE-LCHlch(44.97, 79.49, 303.37°)
OKLaboklab(54.4% 0.0518 -0.1903)
OKLCHoklch(54.4% 0.197 285.2)
XYZxyz(21.8965, 14.5181, 68.6526)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A54DB #C5DB54
analogous
#5482DB #6A54DB #AE54DB
triadic
#6A54DB #DB6A54 #54DB6A
tetradic
#6A54DB #DB5482 #C5DB54 #54DBAE
square
#6A54DB #DB5482 #C5DB54 #54DBAE
split-complementary
#6A54DB #DBAE54 #82DB54
monochromatic
#331F95 #442AC8 #6A54DB #9687E6 #C2B9F0

Accessibility & contrast

On white

5.38
#6A54DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6A54DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A54DB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A54DB#FFFFFF#000000##FFFFFF
##6A54DB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#3E7490
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6a54db;
/* rgb */ color: rgb(106, 84, 219);
/* oklch */ color: oklch(54.4% 0.197 285.2);
Tailwind
colors: {
  custom: {
    50: '#9e85e7',
    500: '#6a54db',
    950: '#000000',
  },
}
SCSS
$custom: #6a54db;
$custom-light: #9e85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a54db",
  "rgb": {
    "r": 106,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 249.778,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54397,
    "c": 0.19724,
    "h": 285.2
  },
  "luminance": 0.14519
}

Semantic roles & 50–950 ramp

primary
#6A54DB
secondary
#D7E0AB
accent
#E840CD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6A54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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