#6A5CFA#6A5CFA

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

Color values

HEX#6A5CFA
RGBrgb(106, 92, 250)
HSLhsl(245, 94%, 67%)
HSVhsv(245, 63%, 98%)
CMYKcmyk(57.6%, 63.2%, 0%, 2%)
CIE-LABlab(49.03, 48.47, -77.23)
CIE-LCHlch(49.03, 91.18, 302.11°)
OKLaboklab(58.09% 0.042 -0.2222)
OKLCHoklch(58.09% 0.226 280.7)
XYZxyz(27.0209, 17.6187, 92.4008)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CFA #ECFA5C
analogous
#5C9DFA #6A5CFA #B95CFA
triadic
#6A5CFA #FA6A5C #5CFA6A
tetradic
#6A5CFA #FA5C9D #ECFA5C #5CFAB9
square
#6A5CFA #FA5C9D #ECFA5C #5CFAB9
split-complementary
#6A5CFA #FAB95C #9DFA5C
monochromatic
#1907D5 #3421F8 #6A5CFA #A097FC #D7D3FE

Accessibility & contrast

On white

4.64
#6A5CFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A5CFA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CFA#FFFFFF#000000##FFFFFF
##6A5CFA1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#006FF7
Tritanopia (blue-blind)
#0684A3
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6a5cfa;
/* rgb */ color: rgb(106, 92, 250);
/* oklch */ color: oklch(58.1% 0.226 280.7);
Tailwind
colors: {
  custom: {
    50: '#a18bfd',
    500: '#6a5cfa',
    950: '#000000',
  },
}
SCSS
$custom: #6a5cfa;
$custom-light: #a18bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5cfa",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 250
  },
  "hsl": {
    "h": 245.316,
    "s": 94.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.58089,
    "c": 0.2261,
    "h": 280.7
  },
  "luminance": 0.17621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A5CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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