#6D57BB#6D57BB

#6D57BB is a mid, vivid violet. Relative luminance 0.137; OKLCH L 52.9% C 0.151 H 290.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#6D57BB
RGBrgb(109, 87, 187)
HSLhsl(253, 42%, 54%)
HSVhsv(253, 53%, 73%)
CMYKcmyk(41.7%, 53.5%, 0%, 26.7%)
CIE-LABlab(43.73, 33.24, -49.91)
CIE-LCHlch(43.73, 59.97, 303.66°)
OKLaboklab(52.86% 0.0527 -0.1418)
OKLCHoklch(52.86% 0.151 290.4)
XYZxyz(18.6820, 13.6549, 48.6554)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D57BB #A5BB57
analogous
#5773BB #6D57BB #9F57BB
triadic
#6D57BB #BB6D57 #57BB6D
tetradic
#6D57BB #BB5773 #A5BB57 #57BB9F
square
#6D57BB #BB5773 #A5BB57 #57BB9F
split-complementary
#6D57BB #BB9F57 #73BB57
monochromatic
#3A2C6C #513D97 #6D57BB #9383CD #B9AEDE

Accessibility & contrast

On white

5.63
#6D57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#6D57BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D57BB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D57BB#FFFFFF#000000##FFFFFF
##6D57BB1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#2C65B9
Tritanopia (blue-blind)
#576C80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6d57bb;
/* rgb */ color: rgb(109, 87, 187);
/* oklch */ color: oklch(52.9% 0.151 290.4);
Tailwind
colors: {
  custom: {
    50: '#9b87d0',
    500: '#6d57bb',
    950: '#000000',
  },
}
SCSS
$custom: #6d57bb;
$custom-light: #9b87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d57bb",
  "rgb": {
    "r": 109,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 253.2,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52861,
    "c": 0.15127,
    "h": 290.4
  },
  "luminance": 0.13655
}

Semantic roles & 50–950 ramp

primary
#6D57BB
secondary
#C3CCA2
accent
#D256B7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0F0B14
muted
#7E7C82

Preview Lab

Preview with #6D57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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