#6A5FE3#6A5FE3

#6A5FE3 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.8% C 0.193 H 282.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6A5FE3
RGBrgb(106, 95, 227)
HSLhsl(245, 70%, 63%)
HSVhsv(245, 58%, 89%)
CMYKcmyk(53.3%, 58.1%, 0%, 11%)
CIE-LABlab(48.00, 39.72, -66.00)
CIE-LCHlch(48.00, 77.04, 301.04°)
OKLaboklab(56.8% 0.0404 -0.1892)
OKLCHoklch(56.8% 0.193 282.1)
XYZxyz(23.8969, 16.7932, 74.6404)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5FE3 #D8E35F
analogous
#5F96E3 #6A5FE3 #AC5FE3
triadic
#6A5FE3 #E36A5F #5FE36A
tetradic
#6A5FE3 #E35F96 #D8E35F #5FE3AC
square
#6A5FE3 #E35F96 #D8E35F #5FE3AC
split-complementary
#6A5FE3 #E3AC5F #96E35F
monochromatic
#291EAA #392BDA #6A5FE3 #9B93EC #CBC7F5

Accessibility & contrast

On white

4.82
#6A5FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#6A5FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5FE3
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5FE3#FFFFFF#000000##FFFFFF
##6A5FE31.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#006DE0
Tritanopia (blue-blind)
#347E98
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a5fe3;
/* rgb */ color: rgb(106, 95, 227);
/* oklch */ color: oklch(56.8% 0.193 282.1);
Tailwind
colors: {
  custom: {
    50: '#9e8ded',
    500: '#6a5fe3',
    950: '#000000',
  },
}
SCSS
$custom: #6a5fe3;
$custom-light: #9e8ded;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5fe3",
  "rgb": {
    "r": 106,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 245,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56802,
    "c": 0.19343,
    "h": 282.1
  },
  "luminance": 0.16795
}

Semantic roles & 50–950 ramp

primary
#6A5FE3
secondary
#E3E7B7
accent
#D213C2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6A5FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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