#6A5EFA#6A5EFA

#6A5EFA is a mid, highly saturated blue. Relative luminance 0.180; OKLCH L 58.4% C 0.224 H 280.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6A5EFA
RGBrgb(106, 94, 250)
HSLhsl(245, 94%, 67%)
HSVhsv(245, 62%, 98%)
CMYKcmyk(57.6%, 62.4%, 0%, 2%)
CIE-LABlab(49.46, 47.33, -76.53)
CIE-LCHlch(49.46, 89.98, 301.73°)
OKLaboklab(58.4% 0.0402 -0.2201)
OKLCHoklch(58.4% 0.224 280.4)
XYZxyz(27.1965, 17.9698, 92.4593)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5EFA #EEFA5E
analogous
#5EA0FA #6A5EFA #B85EFA
triadic
#6A5EFA #FA6A5E #5EFA6A
tetradic
#6A5EFA #FA5EA0 #EEFA5E #5EFAB8
square
#6A5EFA #FA5EA0 #EEFA5E #5EFAB8
split-complementary
#6A5EFA #FAB85E #A0FA5E
monochromatic
#1707D7 #3323F8 #6A5EFA #A199FC #D8D5FE

Accessibility & contrast

On white

4.57
#6A5EFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#6A5EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A5EFA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5EFA#FFFFFF#000000##000000
##6A5EFA1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0070F7
Tritanopia (blue-blind)
#0585A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6a5efa;
/* rgb */ color: rgb(106, 94, 250);
/* oklch */ color: oklch(58.4% 0.224 280.4);
Tailwind
colors: {
  custom: {
    50: '#a18cfd',
    500: '#6a5efa',
    950: '#000000',
  },
}
SCSS
$custom: #6a5efa;
$custom-light: #a18cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5efa",
  "rgb": {
    "r": 106,
    "g": 94,
    "b": 250
  },
  "hsl": {
    "h": 244.615,
    "s": 93.976,
    "l": 67.451
  },
  "oklch": {
    "l": 0.58402,
    "c": 0.22376,
    "h": 280.4
  },
  "luminance": 0.17972
}

Semantic roles & 50–950 ramp

primary
#6A5EFA
secondary
#EFF2C1
accent
#E600D4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6A5EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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