#6A5FF4#6A5FF4

#6A5FF4 is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 58.1% C 0.215 H 280.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6A5FF4
RGBrgb(106, 95, 244)
HSLhsl(244, 87%, 66%)
HSVhsv(244, 61%, 96%)
CMYKcmyk(56.6%, 61.1%, 0%, 4.3%)
CIE-LABlab(49.23, 44.92, -73.56)
CIE-LCHlch(49.23, 86.19, 301.41°)
OKLaboklab(58.09% 0.0398 -0.2114)
OKLCHoklch(58.09% 0.215 280.7)
XYZxyz(26.3601, 17.7785, 87.6130)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5FF4 #E9F45F
analogous
#5F9EF4 #6A5FF4 #B55FF4
triadic
#6A5FF4 #F46A5F #5FF46A
tetradic
#6A5FF4 #F45F9E #E9F45F #5FF4B5
square
#6A5FF4 #F45F9E #E9F45F #5FF4B5
split-complementary
#6A5FF4 #F4B55F #9EF45F
monochromatic
#1C0ECB #3526F0 #6A5FF4 #9F98F8 #D5D2FC

Accessibility & contrast

On white

4.61
#6A5FF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#6A5FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5FF4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5FF4#FFFFFF#000000##FFFFFF
##6A5FF41.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF9
Deuteranopia (green-blind)
#006FF1
Tritanopia (blue-blind)
#1A83A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a5ff4;
/* rgb */ color: rgb(106, 95, 244);
/* oklch */ color: oklch(58.1% 0.215 280.7);
Tailwind
colors: {
  custom: {
    50: '#a08df9',
    500: '#6a5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ff4;
$custom-light: #a08df9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ff4",
  "rgb": {
    "r": 106,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 244.43,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58091,
    "c": 0.2151,
    "h": 280.7
  },
  "luminance": 0.1778
}

Semantic roles & 50–950 ramp

primary
#6A5FF4
secondary
#ECF0BF
accent
#E402D3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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