#6B5CE6#6B5CE6

#6B5CE6 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.6% C 0.201 H 282.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6B5CE6
RGBrgb(107, 92, 230)
HSLhsl(247, 73%, 63%)
HSVhsv(247, 60%, 90%)
CMYKcmyk(53.5%, 60%, 0%, 9.8%)
CIE-LABlab(47.61, 42.58, -68.32)
CIE-LCHlch(47.61, 80.50, 301.93°)
OKLaboklab(56.61% 0.0446 -0.196)
OKLCHoklch(56.61% 0.201 282.8)
XYZxyz(24.1691, 16.4918, 76.7573)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5CE6 #D7E65C
analogous
#5C92E6 #6B5CE6 #B05CE6
triadic
#6B5CE6 #E66B5C #5CE66B
tetradic
#6B5CE6 #E65C92 #D7E65C #5CE6B0
square
#6B5CE6 #E65C92 #D7E65C #5CE6B0
split-complementary
#6B5CE6 #E6B05C #92E65C
monochromatic
#2A1BAD #3B27DE #6B5CE6 #9B91EE #CBC6F6

Accessibility & contrast

On white

4.89
#6B5CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#6B5CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5CE6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5CE6#FFFFFF#000000##FFFFFF
##6B5CE61.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#006CE3
Tritanopia (blue-blind)
#347D98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6b5ce6;
/* rgb */ color: rgb(107, 92, 230);
/* oklch */ color: oklch(56.6% 0.201 282.8);
Tailwind
colors: {
  custom: {
    50: '#9f8bef',
    500: '#6b5ce6',
    950: '#000000',
  },
}
SCSS
$custom: #6b5ce6;
$custom-light: #9f8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5ce6",
  "rgb": {
    "r": 107,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 246.522,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56606,
    "c": 0.20096,
    "h": 282.8
  },
  "luminance": 0.16493
}

Semantic roles & 50–950 ramp

primary
#6B5CE6
secondary
#E2E8B6
accent
#D610C0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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