#6A50E7#6A50E7

#6A50E7 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.7% C 0.217 H 284.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6A50E7
RGBrgb(106, 80, 231)
HSLhsl(250, 76%, 61%)
HSVhsv(250, 65%, 91%)
CMYKcmyk(54.1%, 65.4%, 0%, 9.4%)
CIE-LABlab(45.04, 49.52, -73.08)
CIE-LCHlch(45.04, 88.28, 304.12°)
OKLaboklab(54.74% 0.0544 -0.21)
OKLCHoklch(54.74% 0.217 284.5)
XYZxyz(23.2320, 14.5697, 77.1739)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A50E7 #CDE750
analogous
#5081E7 #6A50E7 #B550E7
triadic
#6A50E7 #E76A50 #50E76A
tetradic
#6A50E7 #E75081 #CDE750 #50E7B5
square
#6A50E7 #E75081 #CDE750 #50E7B5
split-complementary
#6A50E7 #E7B550 #81E750
monochromatic
#2F17A6 #3F1EDC #6A50E7 #9886EE #C6BCF6

Accessibility & contrast

On white

5.37
#6A50E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#6A50E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A50E7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A50E7#FFFFFF#000000##FFFFFF
##6A50E71.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0066E4
Tritanopia (blue-blind)
#327695
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a50e7;
/* rgb */ color: rgb(106, 80, 231);
/* oklch */ color: oklch(54.7% 0.217 284.5);
Tailwind
colors: {
  custom: {
    50: '#9f83f0',
    500: '#6a50e7',
    950: '#000000',
  },
}
SCSS
$custom: #6a50e7;
$custom-light: #9f83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a50e7",
  "rgb": {
    "r": 106,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 250.331,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54735,
    "c": 0.21694,
    "h": 284.5
  },
  "luminance": 0.14571
}

Semantic roles & 50–950 ramp

primary
#6A50E7
secondary
#DCE6AD
accent
#D80DB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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