#6A5CF8#6A5CF8

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

Color values

HEX#6A5CF8
RGBrgb(106, 92, 248)
HSLhsl(245, 92%, 67%)
HSVhsv(245, 63%, 97%)
CMYKcmyk(57.3%, 62.9%, 0%, 2.7%)
CIE-LABlab(48.88, 47.86, -76.37)
CIE-LCHlch(48.88, 90.12, 302.08°)
OKLaboklab(57.93% 0.0421 -0.2196)
OKLCHoklch(57.93% 0.224 280.9)
XYZxyz(26.7090, 17.4940, 90.7580)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CF8 #EAF85C
analogous
#5C9CF8 #6A5CF8 #B85CF8
triadic
#6A5CF8 #F86A5C #5CF86A
tetradic
#6A5CF8 #F85C9C #EAF85C #5CF8B8
square
#6A5CF8 #F85C9C #EAF85C #5CF8B8
split-complementary
#6A5CF8 #F8B85C #9CF85C
monochromatic
#1B09D1 #3421F5 #6A5CF8 #A097FB #D5D1FD

Accessibility & contrast

On white

4.67
#6A5CF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#6A5CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CF8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CF8#FFFFFF#000000##FFFFFF
##6A5CF81.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFD
Deuteranopia (green-blind)
#006EF5
Tritanopia (blue-blind)
#0F83A2
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6a5cf8;
/* rgb */ color: rgb(106, 92, 248);
/* oklch */ color: oklch(57.9% 0.224 280.9);
Tailwind
colors: {
  custom: {
    50: '#a18bfc',
    500: '#6a5cf8',
    950: '#000000',
  },
}
SCSS
$custom: #6a5cf8;
$custom-light: #a18bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5cf8",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 245.385,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.5793,
    "c": 0.22363,
    "h": 280.9
  },
  "luminance": 0.17496
}

Semantic roles & 50–950 ramp

primary
#6A5CF8
secondary
#EDF1BF
accent
#E600D1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6A5CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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