#6B5BCA#6B5BCA

#6B5BCA is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.4% C 0.166 H 286.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6B5BCA
RGBrgb(107, 91, 202)
HSLhsl(249, 51%, 57%)
HSVhsv(249, 55%, 79%)
CMYKcmyk(47%, 55%, 0%, 20.8%)
CIE-LABlab(45.46, 34.77, -55.85)
CIE-LCHlch(45.46, 65.78, 301.90°)
OKLaboklab(54.4% 0.046 -0.1593)
OKLCHoklch(54.4% 0.166 286.1)
XYZxyz(20.4620, 14.8713, 57.6580)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5BCA #BACA5B
analogous
#5B82CA #6B5BCA #A35BCA
triadic
#6B5BCA #CA6B5B #5BCA6B
tetradic
#6B5BCA #CA5B82 #BACA5B #5BCAA3
square
#6B5BCA #CA5B82 #BACA5B #5BCAA3
split-complementary
#6B5BCA #CAA35B #82CA5B
monochromatic
#362A81 #4A39AF #6B5BCA #9589D9 #BEB8E8

Accessibility & contrast

On white

5.28
#6B5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6B5BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5BCA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5BCA#FFFFFF#000000##FFFFFF
##6B5BCA1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCE
Deuteranopia (green-blind)
#1868C8
Tritanopia (blue-blind)
#4B738A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6b5bca;
/* rgb */ color: rgb(107, 91, 202);
/* oklch */ color: oklch(54.4% 0.166 286.1);
Tailwind
colors: {
  custom: {
    50: '#9c8adb',
    500: '#6b5bca',
    950: '#000000',
  },
}
SCSS
$custom: #6b5bca;
$custom-light: #9c8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5bca",
  "rgb": {
    "r": 107,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 248.649,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54404,
    "c": 0.16577,
    "h": 286.1
  },
  "luminance": 0.14872
}

Semantic roles & 50–950 ramp

primary
#6B5BCA
secondary
#D0D7AA
accent
#DB4DC6
background
#FAF8FD
surface
#F3F0FB
border
#CDCBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6B5BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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