#6C50E2#6C50E2

#6C50E2 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.5% C 0.211 H 285.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6C50E2
RGBrgb(108, 80, 226)
HSLhsl(252, 72%, 60%)
HSVhsv(252, 65%, 89%)
CMYKcmyk(52.2%, 64.6%, 0%, 11.4%)
CIE-LABlab(44.82, 48.40, -70.59)
CIE-LCHlch(44.82, 85.59, 304.43°)
OKLaboklab(54.5% 0.0576 -0.2026)
OKLCHoklch(54.5% 0.211 285.9)
XYZxyz(22.7764, 14.4153, 73.5190)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C50E2 #C6E250
analogous
#507DE2 #6C50E2 #B550E2
triadic
#6C50E2 #E26C50 #50E26C
tetradic
#6C50E2 #E2507D #C6E250 #50E2B5
square
#6C50E2 #E2507D #C6E250 #50E2B5
split-complementary
#6C50E2 #E2B550 #7DE250
monochromatic
#331A9E #4423D2 #6C50E2 #9884EB #C4B9F3

Accessibility & contrast

On white

5.41
#6C50E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6C50E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C50E2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C50E2#FFFFFF#000000##FFFFFF
##6C50E21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c50e2;
/* rgb */ color: rgb(108, 80, 226);
/* oklch */ color: oklch(54.5% 0.211 285.9);
Tailwind
colors: {
  custom: {
    50: '#a083ec',
    500: '#6c50e2',
    950: '#000000',
  },
}
SCSS
$custom: #6c50e2;
$custom-light: #a083ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6c50e2",
  "rgb": {
    "r": 108,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 251.507,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.545,
    "c": 0.21067,
    "h": 285.9
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C50E2

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

Preview Lab → · Contrast checker → · Palette generator →

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