#6A56DB#6A56DB

#6A56DB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.7% C 0.195 H 284.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6A56DB
RGBrgb(106, 86, 219)
HSLhsl(249, 65%, 60%)
HSVhsv(249, 61%, 86%)
CMYKcmyk(51.6%, 60.7%, 0%, 14.1%)
CIE-LABlab(45.40, 42.57, -65.67)
CIE-LCHlch(45.40, 78.26, 302.95°)
OKLaboklab(54.72% 0.0498 -0.1882)
OKLCHoklch(54.72% 0.195 284.8)
XYZxyz(22.0540, 14.8331, 68.7051)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A56DB #C7DB56
analogous
#5684DB #6A56DB #AD56DB
triadic
#6A56DB #DB6A56 #56DB6A
tetradic
#6A56DB #DB5684 #C7DB56 #56DBAD
square
#6A56DB #DB5684 #C7DB56 #56DBAD
split-complementary
#6A56DB #DBAD56 #84DB56
monochromatic
#322097 #432BC9 #6A56DB #9688E6 #C3BBF0

Accessibility & contrast

On white

5.29
#6A56DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6A56DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A56DB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A56DB#FFFFFF#000000##FFFFFF
##6A56DB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#3D7690
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a56db;
/* rgb */ color: rgb(106, 86, 219);
/* oklch */ color: oklch(54.7% 0.195 284.8);
Tailwind
colors: {
  custom: {
    50: '#9d86e7',
    500: '#6a56db',
    950: '#000000',
  },
}
SCSS
$custom: #6a56db;
$custom-light: #9d86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a56db",
  "rgb": {
    "r": 106,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 249.023,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54716,
    "c": 0.1947,
    "h": 284.8
  },
  "luminance": 0.14834
}

Semantic roles & 50–950 ramp

primary
#6A56DB
secondary
#D8E0AD
accent
#E840CF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6A56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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