#6B5EE4#6B5EE4

#6B5EE4 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.8% C 0.196 H 282.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6B5EE4
RGBrgb(107, 94, 228)
HSLhsl(246, 71%, 63%)
HSVhsv(246, 59%, 89%)
CMYKcmyk(53.1%, 58.8%, 0%, 10.6%)
CIE-LABlab(47.92, 40.80, -66.69)
CIE-LCHlch(47.92, 78.18, 301.46°)
OKLaboklab(56.79% 0.0427 -0.1912)
OKLCHoklch(56.79% 0.196 282.6)
XYZxyz(24.0654, 16.7312, 75.3451)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5EE4 #D7E45E
analogous
#5E94E4 #6B5EE4 #AE5EE4
triadic
#6B5EE4 #E46B5E #5EE46B
tetradic
#6B5EE4 #E45E94 #D7E45E #5EE4AE
square
#6B5EE4 #E45E94 #D7E45E #5EE4AE
split-complementary
#6B5EE4 #E4AE5E #94E45E
monochromatic
#2A1DAB #3B2ADB #6B5EE4 #9B92ED #CBC7F6

Accessibility & contrast

On white

4.83
#6B5EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#6B5EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5EE4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5EE4#FFFFFF#000000##FFFFFF
##6B5EE41.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#367E98
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6b5ee4;
/* rgb */ color: rgb(107, 94, 228);
/* oklch */ color: oklch(56.8% 0.196 282.6);
Tailwind
colors: {
  custom: {
    50: '#9f8ced',
    500: '#6b5ee4',
    950: '#000000',
  },
}
SCSS
$custom: #6b5ee4;
$custom-light: #9f8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5ee4",
  "rgb": {
    "r": 107,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 245.821,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56786,
    "c": 0.19586,
    "h": 282.6
  },
  "luminance": 0.16733
}

Semantic roles & 50–950 ramp

primary
#6B5EE4
secondary
#E2E7B7
accent
#D312C1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6B5EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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