#6A5BDA#6A5BDA

#6A5BDA is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.5% C 0.187 H 283.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6A5BDA
RGBrgb(106, 91, 218)
HSLhsl(247, 63%, 61%)
HSVhsv(247, 58%, 85%)
CMYKcmyk(51.4%, 58.3%, 0%, 14.5%)
CIE-LABlab(46.45, 39.35, -63.40)
CIE-LCHlch(46.45, 74.62, 301.83°)
OKLaboklab(55.47% 0.0447 -0.1815)
OKLCHoklch(55.47% 0.187 283.8)
XYZxyz(22.3360, 15.6071, 68.1516)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5BDA #CBDA5B
analogous
#5B8BDA #6A5BDA #AA5BDA
triadic
#6A5BDA #DA6A5B #5BDA6A
tetradic
#6A5BDA #DA5B8B #CBDA5B #5BDAAA
square
#6A5BDA #DA5B8B #CBDA5B #5BDAAA
split-complementary
#6A5BDA #DAAA5B #8BDA5B
monochromatic
#302298 #402ECA #6A5BDA #978DE5 #C5BFF1

Accessibility & contrast

On white

5.10
#6A5BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#6A5BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5BDA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5BDA#FFFFFF#000000##FFFFFF
##6A5BDA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#3E7992
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6a5bda;
/* rgb */ color: rgb(106, 91, 218);
/* oklch */ color: oklch(55.5% 0.187 283.8);
Tailwind
colors: {
  custom: {
    50: '#9d8ae6',
    500: '#6a5bda',
    950: '#000000',
  },
}
SCSS
$custom: #6a5bda;
$custom-light: #9d8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5bda",
  "rgb": {
    "r": 106,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 247.087,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55465,
    "c": 0.18695,
    "h": 283.8
  },
  "luminance": 0.15608
}

Semantic roles & 50–950 ramp

primary
#6A5BDA
secondary
#DBE1B0
accent
#CB1BB6
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6A5BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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