#6B5BE4#6B5BE4

#6B5BE4 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 56.3% C 0.200 H 283.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6B5BE4
RGBrgb(107, 91, 228)
HSLhsl(247, 72%, 63%)
HSVhsv(247, 60%, 89%)
CMYKcmyk(53.1%, 60.1%, 0%, 10.6%)
CIE-LABlab(47.25, 42.55, -67.79)
CIE-LCHlch(47.25, 80.04, 302.12°)
OKLaboklab(56.29% 0.0456 -0.1944)
OKLCHoklch(56.29% 0.2 283.2)
XYZxyz(23.8038, 16.2080, 75.2579)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5BE4 #D4E45B
analogous
#5B90E4 #6B5BE4 #AF5BE4
triadic
#6B5BE4 #E46B5B #5BE46B
tetradic
#6B5BE4 #E45B90 #D4E45B #5BE4AF
square
#6B5BE4 #E45B90 #D4E45B #5BE4AF
split-complementary
#6B5BE4 #E4AF5B #90E45B
monochromatic
#2C1CA9 #3C26DB #6B5BE4 #9A90ED #CAC4F5

Accessibility & contrast

On white

4.95
#6B5BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#6B5BE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5BE4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5BE4#FFFFFF#000000##FFFFFF
##6B5BE41.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#377C97
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6b5be4;
/* rgb */ color: rgb(107, 91, 228);
/* oklch */ color: oklch(56.3% 0.200 283.2);
Tailwind
colors: {
  custom: {
    50: '#9f8aed',
    500: '#6b5be4',
    950: '#000000',
  },
}
SCSS
$custom: #6b5be4;
$custom-light: #9f8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5be4",
  "rgb": {
    "r": 107,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 247.007,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56291,
    "c": 0.19967,
    "h": 283.2
  },
  "luminance": 0.16209
}

Semantic roles & 50–950 ramp

primary
#6B5BE4
secondary
#E0E6B4
accent
#D412BD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #6B5BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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