#6B5BEC#6B5BEC

#6B5BEC is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.9% C 0.210 H 282.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6B5BEC
RGBrgb(107, 91, 236)
HSLhsl(247, 79%, 64%)
HSVhsv(247, 61%, 93%)
CMYKcmyk(54.7%, 61.4%, 0%, 7.5%)
CIE-LABlab(47.83, 44.96, -71.34)
CIE-LCHlch(47.83, 84.33, 302.22°)
OKLaboklab(56.9% 0.0452 -0.2048)
OKLCHoklch(56.9% 0.21 282.4)
XYZxyz(24.9401, 16.6626, 81.2426)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5BEC #DCEC5B
analogous
#5B94EC #6B5BEC #B45BEC
triadic
#6B5BEC #EC6B5B #5BEC6B
tetradic
#6B5BEC #EC5B94 #DCEC5B #5BECB4
square
#6B5BEC #EC5B94 #DCEC5B #5BECB4
split-complementary
#6B5BEC #ECB45B #94EC5B
monochromatic
#2715B7 #3A24E6 #6B5BEC #9C92F2 #CEC9F9

Accessibility & contrast

On white

4.85
#6B5BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6B5BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5BEC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5BEC#FFFFFF#000000##FFFFFF
##6B5BEC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#006CE9
Tritanopia (blue-blind)
#2D7E9B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6b5bec;
/* rgb */ color: rgb(107, 91, 236);
/* oklch */ color: oklch(56.9% 0.210 282.4);
Tailwind
colors: {
  custom: {
    50: '#a08af3',
    500: '#6b5bec',
    950: '#000000',
  },
}
SCSS
$custom: #6b5bec;
$custom-light: #a08af3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5bec",
  "rgb": {
    "r": 107,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 246.621,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56904,
    "c": 0.20977,
    "h": 282.4
  },
  "luminance": 0.16664
}

Semantic roles & 50–950 ramp

primary
#6B5BEC
secondary
#E5EBB8
accent
#DC0AC4
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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