#6A56DF#6A56DF

#6A56DF is a mid, vivid blue. Relative luminance 0.150; OKLCH L 55.0% C 0.200 H 284.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6A56DF
RGBrgb(106, 86, 223)
HSLhsl(249, 68%, 61%)
HSVhsv(249, 61%, 87%)
CMYKcmyk(52.5%, 61.4%, 0%, 12.5%)
CIE-LABlab(45.70, 43.76, -67.47)
CIE-LCHlch(45.70, 80.42, 302.97°)
OKLaboklab(55.02% 0.0496 -0.1935)
OKLCHoklch(55.02% 0.2 284.4)
XYZxyz(22.5869, 15.0462, 71.5118)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A56DF #CBDF56
analogous
#5686DF #6A56DF #AE56DF
triadic
#6A56DF #DF6A56 #56DF6A
tetradic
#6A56DF #DF5686 #CBDF56 #56DFAE
square
#6A56DF #DF5686 #CBDF56 #56DFAE
split-complementary
#6A56DF #DFAE56 #86DF56
monochromatic
#301E9D #4027D0 #6A56DF #9789E9 #C5BDF2

Accessibility & contrast

On white

5.24
#6A56DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6A56DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A56DF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A56DF#FFFFFF#000000##FFFFFF
##6A56DF1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#3A7792
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6a56df;
/* rgb */ color: rgb(106, 86, 223);
/* oklch */ color: oklch(55.0% 0.200 284.4);
Tailwind
colors: {
  custom: {
    50: '#9e86ea',
    500: '#6a56df',
    950: '#000000',
  },
}
SCSS
$custom: #6a56df;
$custom-light: #9e86ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6a56df",
  "rgb": {
    "r": 106,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 248.759,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55023,
    "c": 0.19976,
    "h": 284.4
  },
  "luminance": 0.15047
}

Semantic roles & 50–950 ramp

primary
#6A56DF
secondary
#DBE2AE
accent
#D015B5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6A56DF

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

Preview Lab → · Contrast checker → · Palette generator →

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