#6A5BF2#6A5BF2

#6A5BF2 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.3% C 0.217 H 281.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6A5BF2
RGBrgb(106, 91, 242)
HSLhsl(246, 85%, 65%)
HSVhsv(246, 62%, 95%)
CMYKcmyk(56.2%, 62.4%, 0%, 5.1%)
CIE-LABlab(48.20, 46.61, -74.11)
CIE-LCHlch(48.20, 87.55, 302.17°)
OKLaboklab(57.3% 0.0435 -0.213)
OKLCHoklch(57.3% 0.217 281.5)
XYZxyz(25.7070, 16.9555, 85.9053)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5BF2 #E3F25B
analogous
#5B98F2 #6A5BF2 #B55BF2
triadic
#6A5BF2 #F26A5B #5BF26A
tetradic
#6A5BF2 #F25B98 #E3F25B #5BF2B5
square
#6A5BF2 #F25B98 #E3F25B #5BF2B5
split-complementary
#6A5BF2 #F2B55B #98F25B
monochromatic
#210FC3 #3622EE #6A5BF2 #9E94F6 #D1CCFB

Accessibility & contrast

On white

4.78
#6A5BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#6A5BF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5BF2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5BF2#FFFFFF#000000##FFFFFF
##6A5BF21.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#006DEF
Tritanopia (blue-blind)
#20809E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a5bf2;
/* rgb */ color: rgb(106, 91, 242);
/* oklch */ color: oklch(57.3% 0.217 281.5);
Tailwind
colors: {
  custom: {
    50: '#a08af7',
    500: '#6a5bf2',
    950: '#000000',
  },
}
SCSS
$custom: #6a5bf2;
$custom-light: #a08af7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5bf2",
  "rgb": {
    "r": 106,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 245.96,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57297,
    "c": 0.21741,
    "h": 281.5
  },
  "luminance": 0.16957
}

Semantic roles & 50–950 ramp

primary
#6A5BF2
secondary
#E9EEBB
accent
#E204CC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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