#6A5DF2#6A5DF2

#6A5DF2 is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.6% C 0.215 H 281.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6A5DF2
RGBrgb(106, 93, 242)
HSLhsl(245, 85%, 66%)
HSVhsv(245, 62%, 95%)
CMYKcmyk(56.2%, 61.6%, 0%, 5.1%)
CIE-LABlab(48.64, 45.46, -73.40)
CIE-LCHlch(48.64, 86.34, 301.77°)
OKLaboklab(57.61% 0.0417 -0.2109)
OKLCHoklch(57.61% 0.215 281.2)
XYZxyz(25.8802, 17.3020, 85.9631)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5DF2 #E5F25D
analogous
#5D9AF2 #6A5DF2 #B45DF2
triadic
#6A5DF2 #F26A5D #5DF26A
tetradic
#6A5DF2 #F25D9A #E5F25D #5DF2B4
square
#6A5DF2 #F25D9A #E5F25D #5DF2B4
split-complementary
#6A5DF2 #F2B45D #9AF25D
monochromatic
#2010C5 #3624ED #6A5DF2 #9E96F7 #D2CEFB

Accessibility & contrast

On white

4.71
#6A5DF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6A5DF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5DF2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5DF2#FFFFFF#000000##FFFFFF
##6A5DF21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#1F829F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a5df2;
/* rgb */ color: rgb(106, 93, 242);
/* oklch */ color: oklch(57.6% 0.215 281.2);
Tailwind
colors: {
  custom: {
    50: '#a08cf7',
    500: '#6a5df2',
    950: '#000000',
  },
}
SCSS
$custom: #6a5df2;
$custom-light: #a08cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5df2",
  "rgb": {
    "r": 106,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 245.235,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57614,
    "c": 0.215,
    "h": 281.2
  },
  "luminance": 0.17304
}

Semantic roles & 50–950 ramp

primary
#6A5DF2
secondary
#EAEEBD
accent
#E204CE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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