#6B5CE8#6B5CE8

#6B5CE8 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.8% C 0.203 H 282.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6B5CE8
RGBrgb(107, 92, 232)
HSLhsl(246, 75%, 64%)
HSVhsv(246, 60%, 91%)
CMYKcmyk(53.9%, 60.3%, 0%, 9%)
CIE-LABlab(47.76, 43.18, -69.21)
CIE-LCHlch(47.76, 81.58, 301.96°)
OKLaboklab(56.76% 0.0445 -0.1986)
OKLCHoklch(56.76% 0.204 282.6)
XYZxyz(24.4516, 16.6048, 78.2449)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5CE8 #D9E85C
analogous
#5C93E8 #6B5CE8 #B15CE8
triadic
#6B5CE8 #E86B5C #5CE86B
tetradic
#6B5CE8 #E85C93 #D9E85C #5CE8B1
square
#6B5CE8 #E85C93 #D9E85C #5CE8B1
split-complementary
#6B5CE8 #E8B15C #93E85C
monochromatic
#2919B1 #3A26E0 #6B5CE8 #9C92F0 #CCC7F7

Accessibility & contrast

On white

4.86
#6B5CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#6B5CE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5CE8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5CE8#FFFFFF#000000##FFFFFF
##6B5CE81.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#327E99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6b5ce8;
/* rgb */ color: rgb(107, 92, 232);
/* oklch */ color: oklch(56.8% 0.203 282.6);
Tailwind
colors: {
  custom: {
    50: '#9f8bf0',
    500: '#6b5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #6b5ce8;
$custom-light: #9f8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5ce8",
  "rgb": {
    "r": 107,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 246.429,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56758,
    "c": 0.2035,
    "h": 282.6
  },
  "luminance": 0.16606
}

Semantic roles & 50–950 ramp

primary
#6B5CE8
secondary
#E3E9B7
accent
#D70EC2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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