#6A5CED#6A5CED

#6A5CED is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.1% C 0.210 H 281.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6A5CED
RGBrgb(106, 92, 237)
HSLhsl(246, 80%, 65%)
HSVhsv(246, 61%, 93%)
CMYKcmyk(55.3%, 61.2%, 0%, 7.1%)
CIE-LABlab(48.05, 44.52, -71.56)
CIE-LCHlch(48.05, 84.28, 301.89°)
OKLaboklab(57.07% 0.0429 -0.2055)
OKLCHoklch(57.07% 0.21 281.8)
XYZxyz(25.0523, 16.8313, 82.0330)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CED #DFED5C
analogous
#5C97ED #6A5CED #B35CED
triadic
#6A5CED #ED6A5C #5CED6A
tetradic
#6A5CED #ED5C97 #DFED5C #5CEDB3
square
#6A5CED #ED5C97 #DFED5C #5CEDB3
split-complementary
#6A5CED #EDB35C #97ED5C
monochromatic
#2515BA #3825E7 #6A5CED #9C93F3 #CFCAF9

Accessibility & contrast

On white

4.81
#6A5CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#6A5CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CED
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CED#FFFFFF#000000##FFFFFF
##6A5CED1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F2
Deuteranopia (green-blind)
#006DEA
Tritanopia (blue-blind)
#287F9C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a5ced;
/* rgb */ color: rgb(106, 92, 237);
/* oklch */ color: oklch(57.1% 0.210 281.8);
Tailwind
colors: {
  custom: {
    50: '#a08bf4',
    500: '#6a5ced',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ced;
$custom-light: #a08bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ced",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 245.793,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57065,
    "c": 0.20995,
    "h": 281.8
  },
  "luminance": 0.16833
}

Semantic roles & 50–950 ramp

primary
#6A5CED
secondary
#E7EBB9
accent
#DC09C8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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