#6A5DF0#6A5DF0

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

Color values

HEX#6A5DF0
RGBrgb(106, 93, 240)
HSLhsl(245, 83%, 65%)
HSVhsv(245, 61%, 94%)
CMYKcmyk(55.8%, 61.2%, 0%, 5.9%)
CIE-LABlab(48.49, 44.85, -72.52)
CIE-LCHlch(48.49, 85.27, 301.74°)
OKLaboklab(57.46% 0.0418 -0.2083)
OKLCHoklch(57.46% 0.213 281.4)
XYZxyz(25.5815, 17.1825, 84.3897)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5DF0 #E3F05D
analogous
#5D99F0 #6A5DF0 #B35DF0
triadic
#6A5DF0 #F06A5D #5DF06A
tetradic
#6A5DF0 #F05D99 #E3F05D #5DF0B3
square
#6A5DF0 #F05D99 #E3F05D #5DF0B3
split-complementary
#6A5DF0 #F0B35D #99F05D
monochromatic
#2112C1 #3625EB #6A5DF0 #9E95F5 #D1CDFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A5DF0#FFFFFF#000000##FFFFFF
##6A5DF01.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)
#0078F5
Deuteranopia (green-blind)
#006EED
Tritanopia (blue-blind)
#23819E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a5df0;
/* rgb */ color: rgb(106, 93, 240);
/* oklch */ color: oklch(57.5% 0.212 281.4);
Tailwind
colors: {
  custom: {
    50: '#a08cf6',
    500: '#6a5df0',
    950: '#000000',
  },
}
SCSS
$custom: #6a5df0;
$custom-light: #a08cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5df0",
  "rgb": {
    "r": 106,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 245.306,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57458,
    "c": 0.2125,
    "h": 281.4
  },
  "luminance": 0.17184
}

Semantic roles & 50–950 ramp

primary
#6A5DF0
secondary
#E9EDBC
accent
#DF06CC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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