#6A5CEB#6A5CEB

#6A5CEB is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.9% C 0.207 H 282.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6A5CEB
RGBrgb(106, 92, 235)
HSLhsl(246, 78%, 64%)
HSVhsv(246, 61%, 92%)
CMYKcmyk(54.9%, 60.9%, 0%, 7.8%)
CIE-LABlab(47.90, 43.91, -70.68)
CIE-LCHlch(47.90, 83.21, 301.85°)
OKLaboklab(56.91% 0.0431 -0.2029)
OKLCHoklch(56.91% 0.207 282)
XYZxyz(24.7618, 16.7151, 80.5027)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CEB #DDEB5C
analogous
#5C96EB #6A5CEB #B25CEB
triadic
#6A5CEB #EB6A5C #5CEB6A
tetradic
#6A5CEB #EB5C96 #DDEB5C #5CEBB2
square
#6A5CEB #EB5C96 #DDEB5C #5CEBB2
split-complementary
#6A5CEB #EBB25C #96EB5C
monochromatic
#2616B6 #3825E4 #6A5CEB #9C93F2 #CEC9F8

Accessibility & contrast

On white

4.83
#6A5CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#6A5CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CEB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CEB#FFFFFF#000000##FFFFFF
##6A5CEB1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#2B7F9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a5ceb;
/* rgb */ color: rgb(106, 92, 235);
/* oklch */ color: oklch(56.9% 0.207 282.0);
Tailwind
colors: {
  custom: {
    50: '#9f8bf2',
    500: '#6a5ceb',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ceb;
$custom-light: #9f8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ceb",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 245.874,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5691,
    "c": 0.20743,
    "h": 282
  },
  "luminance": 0.16717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A5CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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