#6A50EC#6A50EC

#6A50EC is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.1% C 0.223 H 284.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6A50EC
RGBrgb(106, 80, 236)
HSLhsl(250, 80%, 62%)
HSVhsv(250, 66%, 93%)
CMYKcmyk(55.1%, 66.1%, 0%, 7.5%)
CIE-LABlab(45.44, 50.99, -75.25)
CIE-LCHlch(45.44, 90.90, 304.12°)
OKLaboklab(55.15% 0.0538 -0.2164)
OKLCHoklch(55.15% 0.223 284)
XYZxyz(23.9482, 14.8562, 80.9462)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A50EC #D2EC50
analogous
#5084EC #6A50EC #B850EC
triadic
#6A50EC #EC6A50 #50EC6A
tetradic
#6A50EC #EC5084 #D2EC50 #50ECB8
square
#6A50EC #EC5084 #D2EC50 #50ECB8
split-complementary
#6A50EC #ECB850 #84EC50
monochromatic
#2D13AF #3B19E6 #6A50EC #9987F2 #C8BEF8

Accessibility & contrast

On white

5.29
#6A50EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6A50EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A50EC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A50EC#FFFFFF#000000##FFFFFF
##6A50EC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0066E9
Tritanopia (blue-blind)
#2C7897
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6a50ec;
/* rgb */ color: rgb(106, 80, 236);
/* oklch */ color: oklch(55.1% 0.223 284.0);
Tailwind
colors: {
  custom: {
    50: '#a083f3',
    500: '#6a50ec',
    950: '#000000',
  },
}
SCSS
$custom: #6a50ec;
$custom-light: #a083f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a50ec",
  "rgb": {
    "r": 106,
    "g": 80,
    "b": 236
  },
  "hsl": {
    "h": 250,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55145,
    "c": 0.22296,
    "h": 284
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#6A50EC
secondary
#DFE9AF
accent
#DD09B9
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A50EC

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

Preview Lab → · Contrast checker → · Palette generator →

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