#6A5BEB#6A5BEB

#6A5BEB is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.7% C 0.209 H 282.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6A5BEB
RGBrgb(106, 91, 235)
HSLhsl(246, 78%, 64%)
HSVhsv(246, 61%, 92%)
CMYKcmyk(54.9%, 61.3%, 0%, 7.8%)
CIE-LABlab(47.68, 44.49, -71.04)
CIE-LCHlch(47.68, 83.82, 302.06°)
OKLaboklab(56.75% 0.044 -0.204)
OKLCHoklch(56.75% 0.209 282.2)
XYZxyz(24.6757, 16.5430, 80.4740)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5BEB #DCEB5B
analogous
#5B94EB #6A5BEB #B25BEB
triadic
#6A5BEB #EB6A5B #5BEB6A
tetradic
#6A5BEB #EB5B94 #DCEB5B #5BEBB2
square
#6A5BEB #EB5B94 #DCEB5B #5BEBB2
split-complementary
#6A5BEB #EBB25B #94EB5B
monochromatic
#2716B5 #3824E4 #6A5BEB #9C92F2 #CDC8F8

Accessibility & contrast

On white

4.87
#6A5BEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6A5BEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5BEB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5BEB#FFFFFF#000000##FFFFFF
##6A5BEB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#2B7E9B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6a5beb;
/* rgb */ color: rgb(106, 91, 235);
/* oklch */ color: oklch(56.7% 0.209 282.2);
Tailwind
colors: {
  custom: {
    50: '#9f8af2',
    500: '#6a5beb',
    950: '#000000',
  },
}
SCSS
$custom: #6a5beb;
$custom-light: #9f8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5beb",
  "rgb": {
    "r": 106,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 246.25,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56749,
    "c": 0.20866,
    "h": 282.2
  },
  "luminance": 0.16545
}

Semantic roles & 50–950 ramp

primary
#6A5BEB
secondary
#E5EAB8
accent
#DB0BC5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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