#6D50E5#6D50E5

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

Color values

HEX#6D50E5
RGBrgb(109, 80, 229)
HSLhsl(252, 74%, 61%)
HSVhsv(252, 65%, 90%)
CMYKcmyk(52.4%, 65.1%, 0%, 10.2%)
CIE-LABlab(45.14, 49.44, -71.77)
CIE-LCHlch(45.14, 87.15, 304.56°)
OKLaboklab(54.83% 0.0586 -0.206)
OKLCHoklch(54.83% 0.214 285.9)
XYZxyz(23.3140, 14.6444, 75.7117)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D50E5 #C8E550
analogous
#507DE5 #6D50E5 #B750E5
triadic
#6D50E5 #E56D50 #50E56D
tetradic
#6D50E5 #E5507D #C8E550 #50E5B7
square
#6D50E5 #E5507D #C8E550 #50E5B7
split-complementary
#6D50E5 #E5B750 #7DE550
monochromatic
#3318A2 #4420D8 #6D50E5 #9985ED #C6BBF5

Accessibility & contrast

On white

5.34
#6D50E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D50E5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D50E5#FFFFFF#000000##FFFFFF
##6D50E51.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0066E2
Tritanopia (blue-blind)
#3C7594
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6d50e5;
/* rgb */ color: rgb(109, 80, 229);
/* oklch */ color: oklch(54.8% 0.214 285.9);
Tailwind
colors: {
  custom: {
    50: '#a183ee',
    500: '#6d50e5',
    950: '#000000',
  },
}
SCSS
$custom: #6d50e5;
$custom-light: #a183ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6d50e5",
  "rgb": {
    "r": 109,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 251.678,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54825,
    "c": 0.21422,
    "h": 285.9
  },
  "luminance": 0.14646
}

Semantic roles & 50–950 ramp

primary
#6D50E5
secondary
#DAE5AC
accent
#D60FB0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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