#6B5DE4#6B5DE4

#6B5DE4 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.6% C 0.197 H 282.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6B5DE4
RGBrgb(107, 93, 228)
HSLhsl(246, 71%, 63%)
HSVhsv(246, 59%, 89%)
CMYKcmyk(53.1%, 59.2%, 0%, 10.6%)
CIE-LABlab(47.69, 41.39, -67.06)
CIE-LCHlch(47.69, 78.80, 301.68°)
OKLaboklab(56.62% 0.0437 -0.1922)
OKLCHoklch(56.62% 0.197 282.8)
XYZxyz(23.9771, 16.5545, 75.3157)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5DE4 #D6E45D
analogous
#5D92E4 #6B5DE4 #AE5DE4
triadic
#6B5DE4 #E46B5D #5DE46B
tetradic
#6B5DE4 #E45D92 #D6E45D #5DE4AE
square
#6B5DE4 #E45D92 #D6E45D #5DE4AE
split-complementary
#6B5DE4 #E4AE5D #92E45D
monochromatic
#2B1CAA #3B29DB #6B5DE4 #9B91ED #CBC6F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B5DE4#FFFFFF#000000##FFFFFF
##6B5DE41.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)
#0076E8
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#367D98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6b5de4;
/* rgb */ color: rgb(107, 93, 228);
/* oklch */ color: oklch(56.6% 0.197 282.8);
Tailwind
colors: {
  custom: {
    50: '#9f8bed',
    500: '#6b5de4',
    950: '#000000',
  },
}
SCSS
$custom: #6b5de4;
$custom-light: #9f8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5de4",
  "rgb": {
    "r": 107,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 246.222,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5662,
    "c": 0.19714,
    "h": 282.8
  },
  "luminance": 0.16556
}

Semantic roles & 50–950 ramp

primary
#6B5DE4
secondary
#E2E7B6
accent
#D312BF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6B5DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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