#6D50E2#6D50E2

#6D50E2 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.6% C 0.211 H 286.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6D50E2
RGBrgb(109, 80, 226)
HSLhsl(252, 72%, 60%)
HSVhsv(252, 65%, 89%)
CMYKcmyk(51.8%, 64.6%, 0%, 11.4%)
CIE-LABlab(44.91, 48.57, -70.44)
CIE-LCHlch(44.91, 85.57, 304.59°)
OKLaboklab(54.58% 0.059 -0.2022)
OKLCHoklch(54.58% 0.211 286.3)
XYZxyz(22.8987, 14.4783, 73.5248)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D50E2 #C5E250
analogous
#507CE2 #6D50E2 #B650E2
triadic
#6D50E2 #E26D50 #50E26D
tetradic
#6D50E2 #E2507C #C5E250 #50E2B6
square
#6D50E2 #E2507C #C5E250 #50E2B6
split-complementary
#6D50E2 #E2B650 #7CE250
monochromatic
#341A9E #4623D2 #6D50E2 #9984EB #C5B9F3

Accessibility & contrast

On white

5.39
#6D50E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6D50E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D50E2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D50E2#FFFFFF#000000##FFFFFF
##6D50E21.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#3F7492
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6d50e2;
/* rgb */ color: rgb(109, 80, 226);
/* oklch */ color: oklch(54.6% 0.211 286.3);
Tailwind
colors: {
  custom: {
    50: '#a083ec',
    500: '#6d50e2',
    950: '#000000',
  },
}
SCSS
$custom: #6d50e2;
$custom-light: #a083ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6d50e2",
  "rgb": {
    "r": 109,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 251.918,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.54585,
    "c": 0.21059,
    "h": 286.3
  },
  "luminance": 0.1448
}

Semantic roles & 50–950 ramp

primary
#6D50E2
secondary
#D8E3AB
accent
#EE39CA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6D50E2

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

Preview Lab → · Contrast checker → · Palette generator →

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