#6B5BB2#6B5BB2

#6B5BB2 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 52.8% C 0.133 H 289.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#6B5BB2
RGBrgb(107, 91, 178)
HSLhsl(251, 36%, 53%)
HSVhsv(251, 49%, 70%)
CMYKcmyk(39.9%, 48.9%, 0%, 30.2%)
CIE-LABlab(43.98, 27.75, -44.28)
CIE-LCHlch(43.98, 52.25, 302.08°)
OKLaboklab(52.82% 0.0444 -0.1253)
OKLCHoklch(52.82% 0.133 289.5)
XYZxyz(17.8382, 13.8218, 43.8389)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5BB2 #A2B25B
analogous
#5B77B2 #6B5BB2 #965BB2
triadic
#6B5BB2 #B26B5B #5BB26B
tetradic
#6B5BB2 #B25B77 #A2B25B #5BB296
square
#6B5BB2 #B25B77 #A2B25B #5BB296
split-complementary
#6B5BB2 #B2965B #77B25B
monochromatic
#392F64 #50428D #6B5BB2 #9185C6 #B6AED9

Accessibility & contrast

On white

5.58
#6B5BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#6B5BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5BB2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5BB2#FFFFFF#000000##FFFFFF
##6B5BB21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#3A66B0
Tritanopia (blue-blind)
#586D7E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6b5bb2;
/* rgb */ color: rgb(107, 91, 178);
/* oklch */ color: oklch(52.8% 0.133 289.5);
Tailwind
colors: {
  custom: {
    50: '#9989c9',
    500: '#6b5bb2',
    950: '#000000',
  },
}
SCSS
$custom: #6b5bb2;
$custom-light: #9989c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5bb2",
  "rgb": {
    "r": 107,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 251.034,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52823,
    "c": 0.13292,
    "h": 289.5
  },
  "luminance": 0.13822
}

Semantic roles & 50–950 ramp

primary
#6B5BB2
secondary
#C0C7A2
accent
#CC5CB7
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6B5BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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