#6A5BEF#6A5BEF

#6A5BEF is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.1% C 0.214 H 281.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6A5BEF
RGBrgb(106, 91, 239)
HSLhsl(246, 82%, 65%)
HSVhsv(246, 62%, 94%)
CMYKcmyk(55.6%, 61.9%, 0%, 6.3%)
CIE-LABlab(47.98, 45.70, -72.80)
CIE-LCHlch(47.98, 85.95, 302.12°)
OKLaboklab(57.06% 0.0437 -0.2091)
OKLCHoklch(57.06% 0.214 281.8)
XYZxyz(25.2601, 16.7767, 83.5518)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5BEF #E0EF5B
analogous
#5B96EF #6A5BEF #B45BEF
triadic
#6A5BEF #EF6A5B #5BEF6A
tetradic
#6A5BEF #EF5B96 #E0EF5B #5BEFB4
square
#6A5BEF #EF5B96 #E0EF5B #5BEFB4
split-complementary
#6A5BEF #EFB45B #96EF5B
monochromatic
#2412BD #3723EA #6A5BEF #9D93F4 #CFCBFA

Accessibility & contrast

On white

4.82
#6A5BEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#6A5BEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5BEF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5BEF#FFFFFF#000000##FFFFFF
##6A5BEF1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#006DEC
Tritanopia (blue-blind)
#257F9D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a5bef;
/* rgb */ color: rgb(106, 91, 239);
/* oklch */ color: oklch(57.1% 0.214 281.8);
Tailwind
colors: {
  custom: {
    50: '#a08af5',
    500: '#6a5bef',
    950: '#000000',
  },
}
SCSS
$custom: #6a5bef;
$custom-light: #a08af5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5bef",
  "rgb": {
    "r": 106,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 246.081,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57061,
    "c": 0.21367,
    "h": 281.8
  },
  "luminance": 0.16778
}

Semantic roles & 50–950 ramp

primary
#6A5BEF
secondary
#E7ECBA
accent
#DF07C9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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