#6A5EF5#6A5EF5

#6A5EF5 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 58.0% C 0.218 H 280.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6A5EF5
RGBrgb(106, 94, 245)
HSLhsl(245, 88%, 66%)
HSVhsv(245, 62%, 96%)
CMYKcmyk(56.7%, 61.6%, 0%, 3.9%)
CIE-LABlab(49.08, 45.80, -74.36)
CIE-LCHlch(49.08, 87.33, 301.63°)
OKLaboklab(58.01% 0.0406 -0.2137)
OKLCHoklch(58.01% 0.218 280.8)
XYZxyz(26.4228, 17.6604, 88.3849)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5EF5 #E9F55E
analogous
#5E9EF5 #6A5EF5 #B65EF5
triadic
#6A5EF5 #F56A5E #5EF56A
tetradic
#6A5EF5 #F55E9E #E9F55E #5EF5B6
square
#6A5EF5 #F55E9E #E9F55E #5EF5B6
split-complementary
#6A5EF5 #F5B65E #9EF55E
monochromatic
#1C0DCC #3524F1 #6A5EF5 #9F98F9 #D5D1FC

Accessibility & contrast

On white

4.63
#6A5EF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#6A5EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5EF5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5EF5#FFFFFF#000000##FFFFFF
##6A5EF51.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFA
Deuteranopia (green-blind)
#006FF2
Tritanopia (blue-blind)
#1883A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a5ef5;
/* rgb */ color: rgb(106, 94, 245);
/* oklch */ color: oklch(58.0% 0.218 280.8);
Tailwind
colors: {
  custom: {
    50: '#a18cf9',
    500: '#6a5ef5',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ef5;
$custom-light: #a18cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ef5",
  "rgb": {
    "r": 106,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 244.768,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58008,
    "c": 0.21754,
    "h": 280.8
  },
  "luminance": 0.17662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A5EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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