#6A5CFB#6A5CFB

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

Color values

HEX#6A5CFB
RGBrgb(106, 92, 251)
HSLhsl(245, 95%, 67%)
HSVhsv(245, 63%, 98%)
CMYKcmyk(57.8%, 63.3%, 0%, 1.6%)
CIE-LABlab(49.11, 48.77, -77.66)
CIE-LCHlch(49.11, 91.70, 302.13°)
OKLaboklab(58.17% 0.0419 -0.2234)
OKLCHoklch(58.17% 0.227 280.6)
XYZxyz(27.1781, 17.6816, 93.2288)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CFB #EDFB5C
analogous
#5C9EFB #6A5CFB #BA5CFB
triadic
#6A5CFB #FB6A5C #5CFB6A
tetradic
#6A5CFB #FB5C9E #EDFB5C #5CFBBA
square
#6A5CFB #FB5C9E #EDFB5C #5CFBBA
split-complementary
#6A5CFB #FBBA5C #9EFB5C
monochromatic
#1805D7 #3320FA #6A5CFB #A198FC #D7D3FE

Accessibility & contrast

On white

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

On black

4.54
#6A5CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6A5CFB#FFFFFF#000000##FFFFFF
##6A5CFB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#006FF8
Tritanopia (blue-blind)
#0184A3
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a5cfb;
/* rgb */ color: rgb(106, 92, 251);
/* oklch */ color: oklch(58.2% 0.227 280.6);
Tailwind
colors: {
  custom: {
    50: '#a28bfe',
    500: '#6a5cfb',
    950: '#000000',
  },
}
SCSS
$custom: #6a5cfb;
$custom-light: #a28bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5cfb",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 251
  },
  "hsl": {
    "h": 245.283,
    "s": 95.21,
    "l": 67.255
  },
  "oklch": {
    "l": 0.5817,
    "c": 0.22732,
    "h": 280.6
  },
  "luminance": 0.17683
}

Semantic roles & 50–950 ramp

primary
#6A5CFB
secondary
#EEF2C0
accent
#E600D1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6A5CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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