#6A5FFC#6A5FFC

#6A5FFC is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.7% C 0.225 H 280.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6A5FFC
RGBrgb(106, 95, 252)
HSLhsl(244, 96%, 68%)
HSVhsv(244, 62%, 99%)
CMYKcmyk(57.9%, 62.3%, 0%, 1.2%)
CIE-LABlab(49.83, 47.36, -77.04)
CIE-LCHlch(49.83, 90.44, 301.58°)
OKLaboklab(58.72% 0.0392 -0.2216)
OKLCHoklch(58.72% 0.225 280)
XYZxyz(27.6012, 18.2749, 94.1495)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5FFC #F1FC5F
analogous
#5FA2FC #6A5FFC #B85FFC
triadic
#6A5FFC #FC6A5F #5FFC6A
tetradic
#6A5FFC #FC5FA2 #F1FC5F #5FFCB8
square
#6A5FFC #FC5FA2 #F1FC5F #5FFCB8
split-complementary
#6A5FFC #FCB85F #A2FC5F
monochromatic
#1304DC #3223FB #6A5FFC #A29BFD #DAD7FE

Accessibility & contrast

On white

4.51
#6A5FFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#6A5FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A5FFC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5FFC#FFFFFF#000000##000000
##6A5FFC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0070F9
Tritanopia (blue-blind)
#0086A5
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6a5ffc;
/* rgb */ color: rgb(106, 95, 252);
/* oklch */ color: oklch(58.7% 0.225 280.0);
Tailwind
colors: {
  custom: {
    50: '#a28dfe',
    500: '#6a5ffc',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ffc;
$custom-light: #a28dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ffc",
  "rgb": {
    "r": 106,
    "g": 95,
    "b": 252
  },
  "hsl": {
    "h": 244.204,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.58718,
    "c": 0.22506,
    "h": 280
  },
  "luminance": 0.18277
}

Semantic roles & 50–950 ramp

primary
#6A5FFC
secondary
#F0F3C3
accent
#E600D5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6A5FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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