#6A5FEE#6A5FEE

#6A5FEE is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.6% C 0.208 H 281.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6A5FEE
RGBrgb(106, 95, 238)
HSLhsl(245, 81%, 65%)
HSVhsv(245, 60%, 93%)
CMYKcmyk(55.5%, 60.1%, 0%, 6.7%)
CIE-LABlab(48.78, 43.08, -70.92)
CIE-LCHlch(48.78, 82.98, 301.28°)
OKLaboklab(57.63% 0.0401 -0.2036)
OKLCHoklch(57.63% 0.208 281.1)
XYZxyz(25.4639, 17.4200, 82.8929)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5FEE #E3EE5F
analogous
#5F9CEE #6A5FEE #B15FEE
triadic
#6A5FEE #EE6A5F #5FEE6A
tetradic
#6A5FEE #EE5F9C #E3EE5F #5FEEB1
square
#6A5FEE #EE5F9C #E3EE5F #5FEEB1
split-complementary
#6A5FEE #EEB15F #9CEE5F
monochromatic
#2114BE #3628E8 #6A5FEE #9E96F4 #D1CEFA

Accessibility & contrast

On white

4.68
#6A5FEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#6A5FEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5FEE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5FEE#FFFFFF#000000##FFFFFF
##6A5FEE1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#006FEB
Tritanopia (blue-blind)
#26829E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6a5fee;
/* rgb */ color: rgb(106, 95, 238);
/* oklch */ color: oklch(57.6% 0.208 281.1);
Tailwind
colors: {
  custom: {
    50: '#a08df4',
    500: '#6a5fee',
    950: '#000000',
  },
}
SCSS
$custom: #6a5fee;
$custom-light: #a08df4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5fee",
  "rgb": {
    "r": 106,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 244.615,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57629,
    "c": 0.20753,
    "h": 281.1
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#6A5FEE
secondary
#E9ECBC
accent
#DD08CD
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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