#6A5FEA#6A5FEA

#6A5FEA is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.3% C 0.202 H 281.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6A5FEA
RGBrgb(106, 95, 234)
HSLhsl(245, 77%, 65%)
HSVhsv(245, 59%, 92%)
CMYKcmyk(54.7%, 59.4%, 0%, 8.2%)
CIE-LABlab(48.50, 41.86, -69.15)
CIE-LCHlch(48.50, 80.83, 301.19°)
OKLaboklab(57.33% 0.0403 -0.1984)
OKLCHoklch(57.33% 0.202 281.5)
XYZxyz(24.8827, 17.1875, 79.8323)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5FEA #DFEA5F
analogous
#5F9AEA #6A5FEA #B05FEA
triadic
#6A5FEA #EA6A5F #5FEA6A
tetradic
#6A5FEA #EA5F9A #DFEA5F #5FEAB0
square
#6A5FEA #EA5F9A #DFEA5F #5FEAB0
split-complementary
#6A5FEA #EAB05F #9AEA5F
monochromatic
#2518B7 #3829E3 #6A5FEA #9C95F1 #CFCBF8

Accessibility & contrast

On white

4.73
#6A5FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#6A5FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5FEA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5FEA#FFFFFF#000000##FFFFFF
##6A5FEA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#2C809B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a5fea;
/* rgb */ color: rgb(106, 95, 234);
/* oklch */ color: oklch(57.3% 0.202 281.5);
Tailwind
colors: {
  custom: {
    50: '#9f8df2',
    500: '#6a5fea',
    950: '#000000',
  },
}
SCSS
$custom: #6a5fea;
$custom-light: #9f8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5fea",
  "rgb": {
    "r": 106,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 244.748,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57325,
    "c": 0.20244,
    "h": 281.5
  },
  "luminance": 0.17189
}

Semantic roles & 50–950 ramp

primary
#6A5FEA
secondary
#E7EABA
accent
#D90CC9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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