#6A5EEC#6A5EEC

#6A5EEC is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.3% C 0.206 H 281.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6A5EEC
RGBrgb(106, 94, 236)
HSLhsl(245, 79%, 65%)
HSVhsv(245, 60%, 93%)
CMYKcmyk(55.1%, 60.2%, 0%, 7.5%)
CIE-LABlab(48.42, 43.05, -70.40)
CIE-LCHlch(48.42, 82.52, 301.45°)
OKLaboklab(57.31% 0.0411 -0.2021)
OKLCHoklch(57.31% 0.206 281.5)
XYZxyz(25.0822, 17.1241, 81.3242)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5EEC #E0EC5E
analogous
#5E99EC #6A5EEC #B15EEC
triadic
#6A5EEC #EC6A5E #5EEC6A
tetradic
#6A5EEC #EC5E99 #E0EC5E #5EECB1
square
#6A5EEC #EC5E99 #E0EC5E #5EECB1
split-complementary
#6A5EEC #ECB15E #99EC5E
monochromatic
#2416BA #3727E6 #6A5EEC #9D95F2 #CFCBF9

Accessibility & contrast

On white

4.75
#6A5EEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6A5EEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5EEC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5EEC#FFFFFF#000000##FFFFFF
##6A5EEC1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#006EE9
Tritanopia (blue-blind)
#29809C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a5eec;
/* rgb */ color: rgb(106, 94, 236);
/* oklch */ color: oklch(57.3% 0.206 281.5);
Tailwind
colors: {
  custom: {
    50: '#9f8cf3',
    500: '#6a5eec',
    950: '#000000',
  },
}
SCSS
$custom: #6a5eec;
$custom-light: #9f8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5eec",
  "rgb": {
    "r": 106,
    "g": 94,
    "b": 236
  },
  "hsl": {
    "h": 245.07,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57312,
    "c": 0.20623,
    "h": 281.5
  },
  "luminance": 0.17126
}

Semantic roles & 50–950 ramp

primary
#6A5EEC
secondary
#E7EBBB
accent
#DB0ACA
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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