#6B5CEE#6B5CEE

#6B5CEE is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.2% C 0.211 H 282.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6B5CEE
RGBrgb(107, 92, 238)
HSLhsl(246, 81%, 65%)
HSVhsv(246, 61%, 93%)
CMYKcmyk(55%, 61.3%, 0%, 6.7%)
CIE-LABlab(48.20, 44.99, -71.87)
CIE-LCHlch(48.20, 84.79, 302.05°)
OKLaboklab(57.22% 0.0441 -0.2064)
OKLCHoklch(57.22% 0.211 282.1)
XYZxyz(25.3184, 16.9516, 82.8102)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5CEE #DFEE5C
analogous
#5C96EE #6B5CEE #B45CEE
triadic
#6B5CEE #EE6B5C #5CEE6B
tetradic
#6B5CEE #EE5C96 #DFEE5C #5CEEB4
square
#6B5CEE #EE5C96 #DFEE5C #5CEEB4
split-complementary
#6B5CEE #EEB45C #96EE5C
monochromatic
#2514BC #3925E8 #6B5CEE #9D93F4 #D0CBFA

Accessibility & contrast

On white

4.78
#6B5CEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#6B5CEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5CEE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5CEE#FFFFFF#000000##FFFFFF
##6B5CEE1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#006DEB
Tritanopia (blue-blind)
#2A809C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6b5cee;
/* rgb */ color: rgb(107, 92, 238);
/* oklch */ color: oklch(57.2% 0.211 282.1);
Tailwind
colors: {
  custom: {
    50: '#a08bf5',
    500: '#6b5cee',
    950: '#000000',
  },
}
SCSS
$custom: #6b5cee;
$custom-light: #a08bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5cee",
  "rgb": {
    "r": 107,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 246.164,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57219,
    "c": 0.21106,
    "h": 282.1
  },
  "luminance": 0.16953
}

Semantic roles & 50–950 ramp

primary
#6B5CEE
secondary
#E7ECBA
accent
#DD08C8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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