#6A5FFB#6A5FFB

#6A5FFB is a mid, highly saturated blue. Relative luminance 0.182; OKLCH L 58.6% C 0.224 H 280.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#6A5FFB
RGBrgb(106, 95, 251)
HSLhsl(244, 95%, 68%)
HSVhsv(244, 62%, 98%)
CMYKcmyk(57.8%, 62.2%, 0%, 1.6%)
CIE-LABlab(49.75, 47.06, -76.61)
CIE-LCHlch(49.75, 89.91, 301.56°)
OKLaboklab(58.64% 0.0393 -0.2203)
OKLCHoklch(58.64% 0.224 280.1)
XYZxyz(27.4432, 18.2117, 93.3172)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5FFB #F0FB5F
analogous
#5FA2FB #6A5FFB #B85FFB
triadic
#6A5FFB #FB6A5F #5FFB6A
tetradic
#6A5FFB #FB5FA2 #F0FB5F #5FFBB8
square
#6A5FFB #FB5FA2 #F0FB5F #5FFBB8
split-complementary
#6A5FFB #FBB85F #A2FB5F
monochromatic
#1405DA #3223FA #6A5FFB #A29BFC #D9D6FE

Accessibility & contrast

On white

4.52
#6A5FFB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#6A5FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A5FFB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5FFB#FFFFFF#000000##000000
##6A5FFB1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a5ffb;
/* rgb */ color: rgb(106, 95, 251);
/* oklch */ color: oklch(58.6% 0.224 280.1);
Tailwind
colors: {
  custom: {
    50: '#a18dfe',
    500: '#6a5ffb',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ffb;
$custom-light: #a18dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ffb",
  "rgb": {
    "r": 106,
    "g": 95,
    "b": 251
  },
  "hsl": {
    "h": 244.231,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.58639,
    "c": 0.22382,
    "h": 280.1
  },
  "luminance": 0.18214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A5FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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