#6A5CF1#6A5CF1

#6A5CF1 is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.4% C 0.215 H 281.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6A5CF1
RGBrgb(106, 92, 241)
HSLhsl(246, 84%, 65%)
HSVhsv(246, 62%, 95%)
CMYKcmyk(56%, 61.8%, 0%, 5.5%)
CIE-LABlab(48.35, 45.73, -73.32)
CIE-LCHlch(48.35, 86.41, 301.95°)
OKLaboklab(57.38% 0.0427 -0.2107)
OKLCHoklch(57.38% 0.215 281.4)
XYZxyz(25.6432, 17.0677, 85.1452)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CF1 #E3F15C
analogous
#5C98F1 #6A5CF1 #B55CF1
triadic
#6A5CF1 #F16A5C #5CF16A
tetradic
#6A5CF1 #F15C98 #E3F15C #5CF1B5
square
#6A5CF1 #F15C98 #E3F15C #5CF1B5
split-complementary
#6A5CF1 #F1B55C #98F15C
monochromatic
#2111C2 #3624EC #6A5CF1 #9E94F6 #D1CDFB

Accessibility & contrast

On white

4.76
#6A5CF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#6A5CF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CF1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CF1#FFFFFF#000000##FFFFFF
##6A5CF11.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F6
Deuteranopia (green-blind)
#006DEE
Tritanopia (blue-blind)
#21819E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a5cf1;
/* rgb */ color: rgb(106, 92, 241);
/* oklch */ color: oklch(57.4% 0.215 281.4);
Tailwind
colors: {
  custom: {
    50: '#a08bf7',
    500: '#6a5cf1',
    950: '#000000',
  },
}
SCSS
$custom: #6a5cf1;
$custom-light: #a08bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5cf1",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 245.638,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57376,
    "c": 0.21496,
    "h": 281.4
  },
  "luminance": 0.17069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A5CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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