#6A5CF2#6A5CF2

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

Color values

HEX#6A5CF2
RGBrgb(106, 92, 242)
HSLhsl(246, 85%, 65%)
HSVhsv(246, 62%, 95%)
CMYKcmyk(56.2%, 62%, 0%, 5.1%)
CIE-LABlab(48.42, 46.04, -73.76)
CIE-LCHlch(48.42, 86.95, 301.97°)
OKLaboklab(57.46% 0.0426 -0.212)
OKLCHoklch(57.46% 0.216 281.4)
XYZxyz(25.7930, 17.1276, 85.9340)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CF2 #E4F25C
analogous
#5C99F2 #6A5CF2 #B55CF2
triadic
#6A5CF2 #F26A5C #5CF26A
tetradic
#6A5CF2 #F25C99 #E4F25C #5CF2B5
square
#6A5CF2 #F25C99 #E4F25C #5CF2B5
split-complementary
#6A5CF2 #F2B55C #99F25C
monochromatic
#2010C4 #3623ED #6A5CF2 #9E95F7 #D2CDFB

Accessibility & contrast

On white

4.74
#6A5CF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6A5CF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CF2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CF2#FFFFFF#000000##FFFFFF
##6A5CF21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a5cf2;
/* rgb */ color: rgb(106, 92, 242);
/* oklch */ color: oklch(57.5% 0.216 281.4);
Tailwind
colors: {
  custom: {
    50: '#a08bf7',
    500: '#6a5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #6a5cf2;
$custom-light: #a08bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5cf2",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 245.6,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57455,
    "c": 0.21621,
    "h": 281.4
  },
  "luminance": 0.17129
}

Semantic roles & 50–950 ramp

primary
#6A5CF2
secondary
#E9EEBC
accent
#E204CD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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