#6B57BB#6B57BB

#6B57BB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.7% C 0.151 H 289.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#6B57BB
RGBrgb(107, 87, 187)
HSLhsl(252, 42%, 54%)
HSVhsv(252, 53%, 73%)
CMYKcmyk(42.8%, 53.5%, 0%, 26.7%)
CIE-LABlab(43.55, 32.76, -50.22)
CIE-LCHlch(43.55, 59.96, 303.12°)
OKLaboklab(52.68% 0.0502 -0.1427)
OKLCHoklch(52.68% 0.151 289.4)
XYZxyz(18.4387, 13.5294, 48.6440)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B57BB #A7BB57
analogous
#5775BB #6B57BB #9D57BB
triadic
#6B57BB #BB6B57 #57BB6B
tetradic
#6B57BB #BB5775 #A7BB57 #57BB9D
square
#6B57BB #BB5775 #A7BB57 #57BB9D
split-complementary
#6B57BB #BB9D57 #75BB57
monochromatic
#392C6C #4F3D97 #6B57BB #9183CD #B8AEDE

Accessibility & contrast

On white

5.67
#6B57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6B57BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B57BB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B57BB#FFFFFF#000000##FFFFFF
##6B57BB1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#2A65B9
Tritanopia (blue-blind)
#546C80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6b57bb;
/* rgb */ color: rgb(107, 87, 187);
/* oklch */ color: oklch(52.7% 0.151 289.4);
Tailwind
colors: {
  custom: {
    50: '#9a87d0',
    500: '#6b57bb',
    950: '#000000',
  },
}
SCSS
$custom: #6b57bb;
$custom-light: #9a87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b57bb",
  "rgb": {
    "r": 107,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 252,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5268,
    "c": 0.1513,
    "h": 289.4
  },
  "luminance": 0.1353
}

Semantic roles & 50–950 ramp

primary
#6B57BB
secondary
#C4CCA2
accent
#D256B9
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6B57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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