#6A5FF1#6A5FF1

#6A5FF1 is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.9% C 0.211 H 280.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6A5FF1
RGBrgb(106, 95, 241)
HSLhsl(245, 84%, 66%)
HSVhsv(245, 61%, 95%)
CMYKcmyk(56%, 60.6%, 0%, 5.5%)
CIE-LABlab(49.00, 44.00, -72.25)
CIE-LCHlch(49.00, 84.59, 301.34°)
OKLaboklab(57.86% 0.0399 -0.2075)
OKLCHoklch(57.86% 0.211 280.9)
XYZxyz(25.9083, 17.5978, 85.2335)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5FF1 #E6F15F
analogous
#5F9DF1 #6A5FF1 #B35FF1
triadic
#6A5FF1 #F16A5F #5FF16A
tetradic
#6A5FF1 #F15F9D #E6F15F #5FF1B3
square
#6A5FF1 #F15F9D #E6F15F #5FF1B3
split-complementary
#6A5FF1 #F1B35F #9DF15F
monochromatic
#1F11C4 #3627EC #6A5FF1 #9E97F6 #D3D0FB

Accessibility & contrast

On white

4.65
#6A5FF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#6A5FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5FF1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5FF1#FFFFFF#000000##FFFFFF
##6A5FF11.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF6
Deuteranopia (green-blind)
#006FEE
Tritanopia (blue-blind)
#21829F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6a5ff1;
/* rgb */ color: rgb(106, 95, 241);
/* oklch */ color: oklch(57.9% 0.211 280.9);
Tailwind
colors: {
  custom: {
    50: '#a08df7',
    500: '#6a5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ff1;
$custom-light: #a08df7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ff1",
  "rgb": {
    "r": 106,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 244.521,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.57859,
    "c": 0.21132,
    "h": 280.9
  },
  "luminance": 0.17599
}

Semantic roles & 50–950 ramp

primary
#6A5FF1
secondary
#EAEEBE
accent
#E005D0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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