#6A50CA#6A50CA

#6A50CA is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.5% C 0.181 H 288.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6A50CA
RGBrgb(106, 80, 202)
HSLhsl(253, 54%, 55%)
HSVhsv(253, 60%, 79%)
CMYKcmyk(47.5%, 60.4%, 0%, 20.8%)
CIE-LABlab(42.86, 41.03, -60.04)
CIE-LCHlch(42.86, 72.73, 304.35°)
OKLaboklab(52.47% 0.057 -0.1717)
OKLCHoklch(52.47% 0.181 288.4)
XYZxyz(19.4701, 13.0650, 57.3616)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A50CA #B0CA50
analogous
#5073CA #6A50CA #A750CA
triadic
#6A50CA #CA6A50 #50CA6A
tetradic
#6A50CA #CA5073 #B0CA50 #50CAA7
square
#6A50CA #CA5073 #B0CA50 #50CAA7
split-complementary
#6A50CA #CAA750 #73CA50
monochromatic
#37257A #4D33A9 #6A50CA #927FD8 #BAAEE6

Accessibility & contrast

On white

5.81
#6A50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6A50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A50CA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A50CA#FFFFFF#000000##FFFFFF
##6A50CA1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#4A6C85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a50ca;
/* rgb */ color: rgb(106, 80, 202);
/* oklch */ color: oklch(52.5% 0.181 288.4);
Tailwind
colors: {
  custom: {
    50: '#9c82db',
    500: '#6a50ca',
    950: '#000000',
  },
}
SCSS
$custom: #6a50ca;
$custom-light: #9c82db;
$custom-dark: #000000;
JSON
{
  "hex": "#6a50ca",
  "rgb": {
    "r": 106,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 252.787,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52469,
    "c": 0.18088,
    "h": 288.4
  },
  "luminance": 0.13066
}

Semantic roles & 50–950 ramp

primary
#6A50CA
secondary
#CAD4A1
accent
#DD4BBE
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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