#6A5FFA#6A5FFA

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

Color values

HEX#6A5FFA
RGBrgb(106, 95, 250)
HSLhsl(244, 94%, 68%)
HSVhsv(244, 62%, 98%)
CMYKcmyk(57.6%, 62%, 0%, 2%)
CIE-LABlab(49.68, 46.75, -76.18)
CIE-LCHlch(49.68, 89.38, 301.54°)
OKLaboklab(58.56% 0.0394 -0.2191)
OKLCHoklch(58.56% 0.223 280.2)
XYZxyz(27.2860, 18.1488, 92.4892)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5FFA #EFFA5F
analogous
#5FA2FA #6A5FFA #B75FFA
triadic
#6A5FFA #FA6A5F #5FFA6A
tetradic
#6A5FFA #FA5FA2 #EFFA5F #5FFAB7
square
#6A5FFA #FA5FA2 #EFFA5F #5FFAB7
split-complementary
#6A5FFA #FAB75F #A2FA5F
monochromatic
#1607D8 #3324F8 #6A5FFA #A19AFC #D9D6FE

Accessibility & contrast

On white

4.54
#6A5FFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#6A5FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A5FFA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5FFA#FFFFFF#000000##000000
##6A5FFA1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a5ffa;
/* rgb */ color: rgb(106, 95, 250);
/* oklch */ color: oklch(58.6% 0.223 280.2);
Tailwind
colors: {
  custom: {
    50: '#a18dfd',
    500: '#6a5ffa',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ffa;
$custom-light: #a18dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ffa",
  "rgb": {
    "r": 106,
    "g": 95,
    "b": 250
  },
  "hsl": {
    "h": 244.258,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.5856,
    "c": 0.22257,
    "h": 280.2
  },
  "luminance": 0.18151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A5FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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