#6B5CE5#6B5CE5

#6B5CE5 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.5% C 0.200 H 282.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6B5CE5
RGBrgb(107, 92, 229)
HSLhsl(247, 72%, 63%)
HSVhsv(247, 60%, 90%)
CMYKcmyk(53.3%, 59.8%, 0%, 10.2%)
CIE-LABlab(47.54, 42.27, -67.87)
CIE-LCHlch(47.54, 79.96, 301.92°)
OKLaboklab(56.53% 0.0446 -0.1946)
OKLCHoklch(56.53% 0.2 282.9)
XYZxyz(24.0291, 16.4358, 76.0198)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5CE5 #D6E55C
analogous
#5C92E5 #6B5CE5 #AF5CE5
triadic
#6B5CE5 #E56B5C #5CE56B
tetradic
#6B5CE5 #E55C92 #D6E55C #5CE5AF
square
#6B5CE5 #E55C92 #D6E55C #5CE5AF
split-complementary
#6B5CE5 #E5AF5C #92E55C
monochromatic
#2B1BAB #3B27DD #6B5CE5 #9B91ED #CBC6F6

Accessibility & contrast

On white

4.90
#6B5CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#6B5CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5CE5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5CE5#FFFFFF#000000##FFFFFF
##6B5CE51.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#367D98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6b5ce5;
/* rgb */ color: rgb(107, 92, 229);
/* oklch */ color: oklch(56.5% 0.200 282.9);
Tailwind
colors: {
  custom: {
    50: '#9f8bee',
    500: '#6b5ce5',
    950: '#000000',
  },
}
SCSS
$custom: #6b5ce5;
$custom-light: #9f8bee;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5ce5",
  "rgb": {
    "r": 107,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 246.569,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5653,
    "c": 0.19968,
    "h": 282.9
  },
  "luminance": 0.16437
}

Semantic roles & 50–950 ramp

primary
#6B5CE5
secondary
#E2E7B6
accent
#D511BF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #6B5CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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