#6A5FEB#6A5FEB

#6A5FEB is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.4% C 0.204 H 281.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6A5FEB
RGBrgb(106, 95, 235)
HSLhsl(245, 78%, 65%)
HSVhsv(245, 60%, 92%)
CMYKcmyk(54.9%, 59.6%, 0%, 7.8%)
CIE-LABlab(48.57, 42.17, -69.59)
CIE-LCHlch(48.57, 81.37, 301.21°)
OKLaboklab(57.4% 0.0402 -0.1997)
OKLCHoklch(57.4% 0.204 281.4)
XYZxyz(25.0268, 17.2452, 80.5910)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5FEB #E0EB5F
analogous
#5F9AEB #6A5FEB #B05FEB
triadic
#6A5FEB #EB6A5F #5FEB6A
tetradic
#6A5FEB #EB5F9A #E0EB5F #5FEBB0
square
#6A5FEB #EB5F9A #E0EB5F #5FEBB0
split-complementary
#6A5FEB #EBB05F #9AEB5F
monochromatic
#2417B9 #3729E4 #6A5FEB #9D95F2 #CFCCF9

Accessibility & contrast

On white

4.72
#6A5FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#6A5FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5FEB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5FEB#FFFFFF#000000##FFFFFF
##6A5FEB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#006EE8
Tritanopia (blue-blind)
#2A819C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a5feb;
/* rgb */ color: rgb(106, 95, 235);
/* oklch */ color: oklch(57.4% 0.204 281.4);
Tailwind
colors: {
  custom: {
    50: '#9f8df2',
    500: '#6a5feb',
    950: '#000000',
  },
}
SCSS
$custom: #6a5feb;
$custom-light: #9f8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5feb",
  "rgb": {
    "r": 106,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 244.714,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57401,
    "c": 0.20372,
    "h": 281.4
  },
  "luminance": 0.17247
}

Semantic roles & 50–950 ramp

primary
#6A5FEB
secondary
#E7EBBB
accent
#DA0BCA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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