#6A50E8#6A50E8

#6A50E8 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.8% C 0.218 H 284.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6A50E8
RGBrgb(106, 80, 232)
HSLhsl(250, 77%, 61%)
HSVhsv(250, 66%, 91%)
CMYKcmyk(54.3%, 65.5%, 0%, 9%)
CIE-LABlab(45.12, 49.82, -73.52)
CIE-LCHlch(45.12, 88.81, 304.12°)
OKLaboklab(54.82% 0.0543 -0.2113)
OKLCHoklch(54.82% 0.218 284.4)
XYZxyz(23.3736, 14.6263, 77.9198)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A50E8 #CEE850
analogous
#5082E8 #6A50E8 #B650E8
triadic
#6A50E8 #E86A50 #50E86A
tetradic
#6A50E8 #E85082 #CEE850 #50E8B6
square
#6A50E8 #E85082 #CEE850 #50E8B6
split-complementary
#6A50E8 #E8B650 #82E850
monochromatic
#2F16A8 #3E1DDE #6A50E8 #9886EF #C6BCF6

Accessibility & contrast

On white

5.35
#6A50E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6A50E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A50E8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A50E8#FFFFFF#000000##FFFFFF
##6A50E81.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#317695
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a50e8;
/* rgb */ color: rgb(106, 80, 232);
/* oklch */ color: oklch(54.8% 0.218 284.4);
Tailwind
colors: {
  custom: {
    50: '#a083f0',
    500: '#6a50e8',
    950: '#000000',
  },
}
SCSS
$custom: #6a50e8;
$custom-light: #a083f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a50e8",
  "rgb": {
    "r": 106,
    "g": 80,
    "b": 232
  },
  "hsl": {
    "h": 250.263,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54817,
    "c": 0.21814,
    "h": 284.4
  },
  "luminance": 0.14628
}

Semantic roles & 50–950 ramp

primary
#6A50E8
secondary
#DDE6AD
accent
#D90DB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A50E8

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

Preview Lab → · Contrast checker → · Palette generator →

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