#6A5BF0#6A5BF0

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

Color values

HEX#6A5BF0
RGBrgb(106, 91, 240)
HSLhsl(246, 83%, 65%)
HSVhsv(246, 62%, 94%)
CMYKcmyk(55.8%, 62.1%, 0%, 5.9%)
CIE-LABlab(48.05, 46.00, -73.24)
CIE-LCHlch(48.05, 86.49, 302.14°)
OKLaboklab(57.14% 0.0437 -0.2104)
OKLCHoklch(57.14% 0.215 281.7)
XYZxyz(25.4082, 16.8360, 84.3320)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5BF0 #E1F05B
analogous
#5B97F0 #6A5BF0 #B45BF0
triadic
#6A5BF0 #F06A5B #5BF06A
tetradic
#6A5BF0 #F05B97 #E1F05B #5BF0B4
square
#6A5BF0 #F05B97 #E1F05B #5BF0B4
split-complementary
#6A5BF0 #F0B45B #97F05B
monochromatic
#2311BF #3723EB #6A5BF0 #9D93F5 #D0CBFA

Accessibility & contrast

On white

4.81
#6A5BF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#6A5BF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5BF0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5BF0#FFFFFF#000000##FFFFFF
##6A5BF01.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F5
Deuteranopia (green-blind)
#006DED
Tritanopia (blue-blind)
#23809D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a5bf0;
/* rgb */ color: rgb(106, 91, 240);
/* oklch */ color: oklch(57.1% 0.215 281.7);
Tailwind
colors: {
  custom: {
    50: '#a08af6',
    500: '#6a5bf0',
    950: '#000000',
  },
}
SCSS
$custom: #6a5bf0;
$custom-light: #a08af6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5bf0",
  "rgb": {
    "r": 106,
    "g": 91,
    "b": 240
  },
  "hsl": {
    "h": 246.04,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57139,
    "c": 0.21492,
    "h": 281.7
  },
  "luminance": 0.16838
}

Semantic roles & 50–950 ramp

primary
#6A5BF0
secondary
#E8EDBA
accent
#E006CA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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