#6A50BF#6A50BF

#6A50BF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.7% C 0.167 H 290.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6A50BF
RGBrgb(106, 80, 191)
HSLhsl(254, 46%, 53%)
HSVhsv(254, 58%, 75%)
CMYKcmyk(44.5%, 58.1%, 0%, 25.1%)
CIE-LABlab(42.10, 37.85, -54.90)
CIE-LCHlch(42.10, 66.68, 304.58°)
OKLaboklab(51.67% 0.0573 -0.1565)
OKLCHoklch(51.67% 0.167 290.1)
XYZxyz(18.2139, 12.5624, 50.7452)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A50BF #A5BF50
analogous
#506DBF #6A50BF #A150BF
triadic
#6A50BF #BF6A50 #50BF6A
tetradic
#6A50BF #BF506D #A5BF50 #50BFA1
square
#6A50BF #BF506D #A5BF50 #50BFA1
split-complementary
#6A50BF #BFA150 #6DBF50
monochromatic
#38286D #4F389A #6A50BF #907DCF #B6AAE0

Accessibility & contrast

On white

5.98
#6A50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6A50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A50BF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A50BF#FFFFFF#000000##FFFFFF
##6A50BF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0B61BD
Tritanopia (blue-blind)
#516980
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a50bf;
/* rgb */ color: rgb(106, 80, 191);
/* oklch */ color: oklch(51.7% 0.167 290.1);
Tailwind
colors: {
  custom: {
    50: '#9a82d3',
    500: '#6a50bf',
    950: '#000000',
  },
}
SCSS
$custom: #6a50bf;
$custom-light: #9a82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a50bf",
  "rgb": {
    "r": 106,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 254.054,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51666,
    "c": 0.1667,
    "h": 290.1
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#6A50BF
secondary
#C2CD9D
accent
#D652B7
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6A50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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