#6B5CE7#6B5CE7

#6B5CE7 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.7% C 0.202 H 282.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6B5CE7
RGBrgb(107, 92, 231)
HSLhsl(246, 74%, 63%)
HSVhsv(246, 60%, 91%)
CMYKcmyk(53.7%, 60.2%, 0%, 9.4%)
CIE-LABlab(47.69, 42.88, -68.77)
CIE-LCHlch(47.69, 81.04, 301.94°)
OKLaboklab(56.68% 0.0445 -0.1973)
OKLCHoklch(56.68% 0.202 282.7)
XYZxyz(24.3099, 16.5482, 77.4990)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5CE7 #D8E75C
analogous
#5C92E7 #6B5CE7 #B05CE7
triadic
#6B5CE7 #E76B5C #5CE76B
tetradic
#6B5CE7 #E75C92 #D8E75C #5CE7B0
square
#6B5CE7 #E75C92 #D8E75C #5CE7B0
split-complementary
#6B5CE7 #E7B05C #92E75C
monochromatic
#2A1AAF #3B27DF #6B5CE7 #9B91EF #CCC7F7

Accessibility & contrast

On white

4.87
#6B5CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6B5CE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5CE7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5CE7#FFFFFF#000000##FFFFFF
##6B5CE71.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#337D99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6b5ce7;
/* rgb */ color: rgb(107, 92, 231);
/* oklch */ color: oklch(56.7% 0.202 282.7);
Tailwind
colors: {
  custom: {
    50: '#9f8bf0',
    500: '#6b5ce7',
    950: '#000000',
  },
}
SCSS
$custom: #6b5ce7;
$custom-light: #9f8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5ce7",
  "rgb": {
    "r": 107,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 246.475,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56682,
    "c": 0.20223,
    "h": 282.7
  },
  "luminance": 0.1655
}

Semantic roles & 50–950 ramp

primary
#6B5CE7
secondary
#E3E8B7
accent
#D60FC1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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