#6A5FF2#6A5FF2

#6A5FF2 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 57.9% C 0.213 H 280.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6A5FF2
RGBrgb(106, 95, 242)
HSLhsl(244, 85%, 66%)
HSVhsv(244, 61%, 95%)
CMYKcmyk(56.2%, 60.7%, 0%, 5.1%)
CIE-LABlab(49.08, 44.31, -72.69)
CIE-LCHlch(49.08, 85.13, 301.36°)
OKLaboklab(57.94% 0.0399 -0.2088)
OKLCHoklch(57.94% 0.213 280.8)
XYZxyz(26.0581, 17.6577, 86.0223)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5FF2 #E7F25F
analogous
#5F9DF2 #6A5FF2 #B35FF2
triadic
#6A5FF2 #F26A5F #5FF26A
tetradic
#6A5FF2 #F25F9D #E7F25F #5FF2B3
square
#6A5FF2 #F25F9D #E7F25F #5FF2B3
split-complementary
#6A5FF2 #F2B35F #9DF25F
monochromatic
#1E10C6 #3526ED #6A5FF2 #9F98F7 #D3D0FB

Accessibility & contrast

On white

4.63
#6A5FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#6A5FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5FF2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5FF2#FFFFFF#000000##FFFFFF
##6A5FF21.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#1F83A0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a5ff2;
/* rgb */ color: rgb(106, 95, 242);
/* oklch */ color: oklch(57.9% 0.213 280.8);
Tailwind
colors: {
  custom: {
    50: '#a08df7',
    500: '#6a5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ff2;
$custom-light: #a08df7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ff2",
  "rgb": {
    "r": 106,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 244.49,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57936,
    "c": 0.21258,
    "h": 280.8
  },
  "luminance": 0.17659
}

Semantic roles & 50–950 ramp

primary
#6A5FF2
secondary
#EBEFBE
accent
#E104D1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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