#6A5FCB#6A5FCB

#6A5FCB is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.1% C 0.162 H 284.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6A5FCB
RGBrgb(106, 95, 203)
HSLhsl(246, 51%, 58%)
HSVhsv(246, 53%, 80%)
CMYKcmyk(47.8%, 53.2%, 0%, 20.4%)
CIE-LABlab(46.39, 32.44, -54.92)
CIE-LCHlch(46.39, 63.79, 300.57°)
OKLaboklab(55.1% 0.0401 -0.1566)
OKLCHoklch(55.1% 0.162 284.4)
XYZxyz(20.8124, 15.5594, 58.3950)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5FCB #C0CB5F
analogous
#5F8ACB #6A5FCB #A05FCB
triadic
#6A5FCB #CB6A5F #5FCB6A
tetradic
#6A5FCB #CB5F8A #C0CB5F #5FCBA0
square
#6A5FCB #CB5F8A #C0CB5F #5FCBA0
split-complementary
#6A5FCB #CBA05F #8ACB5F
monochromatic
#342B85 #463AB3 #6A5FCB #958DDA #C0BBE9

Accessibility & contrast

On white

5.11
#6A5FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#6A5FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5FCB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5FCB#FFFFFF#000000##FFFFFF
##6A5FCB1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2771CF
Deuteranopia (green-blind)
#216BC9
Tritanopia (blue-blind)
#48778C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6a5fcb;
/* rgb */ color: rgb(106, 95, 203);
/* oklch */ color: oklch(55.1% 0.162 284.4);
Tailwind
colors: {
  custom: {
    50: '#9b8cdb',
    500: '#6a5fcb',
    950: '#000000',
  },
}
SCSS
$custom: #6a5fcb;
$custom-light: #9b8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5fcb",
  "rgb": {
    "r": 106,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 246.111,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55099,
    "c": 0.16162,
    "h": 284.4
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

primary
#6A5FCB
secondary
#D4D8AD
accent
#DA4DCC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #6A5FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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