#6A54DD#6A54DD

#6A54DD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.6% C 0.200 H 285.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6A54DD
RGBrgb(106, 84, 221)
HSLhsl(250, 67%, 60%)
HSVhsv(250, 62%, 87%)
CMYKcmyk(52%, 62%, 0%, 13.3%)
CIE-LABlab(45.12, 44.32, -67.28)
CIE-LCHlch(45.12, 80.57, 303.37°)
OKLaboklab(54.55% 0.0517 -0.193)
OKLCHoklch(54.55% 0.2 285)
XYZxyz(22.1614, 14.6241, 70.0476)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A54DD #C7DD54
analogous
#5483DD #6A54DD #AE54DD
triadic
#6A54DD #DD6A54 #54DD6A
tetradic
#6A54DD #DD5483 #C7DD54 #54DDAE
square
#6A54DD #DD5483 #C7DD54 #54DDAE
split-complementary
#6A54DD #DDAE54 #83DD54
monochromatic
#321E98 #4328CB #6A54DD #9687E7 #C3BAF1

Accessibility & contrast

On white

5.35
#6A54DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6A54DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A54DD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A54DD#FFFFFF#000000##FFFFFF
##6A54DD1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#3C7591
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a54dd;
/* rgb */ color: rgb(106, 84, 221);
/* oklch */ color: oklch(54.6% 0.200 285.0);
Tailwind
colors: {
  custom: {
    50: '#9e85e8',
    500: '#6a54dd',
    950: '#000000',
  },
}
SCSS
$custom: #6a54dd;
$custom-light: #9e85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a54dd",
  "rgb": {
    "r": 106,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 249.635,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54551,
    "c": 0.19976,
    "h": 285
  },
  "luminance": 0.14625
}

Semantic roles & 50–950 ramp

primary
#6A54DD
secondary
#D8E1AC
accent
#EA3ECE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6A54DD

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

Preview Lab → · Contrast checker → · Palette generator →

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