#6A5CF0#6A5CF0

#6A5CF0 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.3% C 0.214 H 281.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6A5CF0
RGBrgb(106, 92, 240)
HSLhsl(246, 83%, 65%)
HSVhsv(246, 62%, 94%)
CMYKcmyk(55.8%, 61.7%, 0%, 5.9%)
CIE-LABlab(48.27, 45.43, -72.88)
CIE-LCHlch(48.27, 85.88, 301.94°)
OKLaboklab(57.3% 0.0427 -0.2094)
OKLCHoklch(57.3% 0.214 281.5)
XYZxyz(25.4943, 17.0081, 84.3607)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CF0 #E2F05C
analogous
#5C98F0 #6A5CF0 #B45CF0
triadic
#6A5CF0 #F06A5C #5CF06A
tetradic
#6A5CF0 #F05C98 #E2F05C #5CF0B4
square
#6A5CF0 #F05C98 #E2F05C #5CF0B4
split-complementary
#6A5CF0 #F0B45C #98F05C
monochromatic
#2212C0 #3724EB #6A5CF0 #9D94F5 #D0CCFA

Accessibility & contrast

On white

4.77
#6A5CF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#6A5CF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CF0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CF0#FFFFFF#000000##FFFFFF
##6A5CF01.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#006DED
Tritanopia (blue-blind)
#23809D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a5cf0;
/* rgb */ color: rgb(106, 92, 240);
/* oklch */ color: oklch(57.3% 0.214 281.5);
Tailwind
colors: {
  custom: {
    50: '#a08bf6',
    500: '#6a5cf0',
    950: '#000000',
  },
}
SCSS
$custom: #6a5cf0;
$custom-light: #a08bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5cf0",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 240
  },
  "hsl": {
    "h": 245.676,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57298,
    "c": 0.21371,
    "h": 281.5
  },
  "luminance": 0.1701
}

Semantic roles & 50–950 ramp

primary
#6A5CF0
secondary
#E8EDBB
accent
#E006CB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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