#6B50E4#6B50E4

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

Color values

HEX#6B50E4
RGBrgb(107, 80, 228)
HSLhsl(251, 73%, 60%)
HSVhsv(251, 65%, 89%)
CMYKcmyk(53.1%, 64.9%, 0%, 10.6%)
CIE-LABlab(44.89, 48.81, -71.62)
CIE-LCHlch(44.89, 86.67, 304.27°)
OKLaboklab(54.58% 0.0561 -0.2057)
OKLCHoklch(54.58% 0.213 285.3)
XYZxyz(22.9314, 14.4633, 74.9671)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B50E4 #C9E450
analogous
#507FE4 #6B50E4 #B550E4
triadic
#6B50E4 #E46B50 #50E46B
tetradic
#6B50E4 #E4507F #C9E450 #50E4B5
square
#6B50E4 #E4507F #C9E450 #50E4B5
split-complementary
#6B50E4 #E4B550 #7FE450
monochromatic
#3219A1 #4221D6 #6B50E4 #9885EC #C5BAF4

Accessibility & contrast

On white

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

On black

3.89
#6B50E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6B50E4#FFFFFF#000000##FFFFFF
##6B50E41.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0066E1
Tritanopia (blue-blind)
#387593
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6b50e4;
/* rgb */ color: rgb(107, 80, 228);
/* oklch */ color: oklch(54.6% 0.213 285.3);
Tailwind
colors: {
  custom: {
    50: '#a083ee',
    500: '#6b50e4',
    950: '#000000',
  },
}
SCSS
$custom: #6b50e4;
$custom-light: #a083ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6b50e4",
  "rgb": {
    "r": 107,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 250.946,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54575,
    "c": 0.21319,
    "h": 285.3
  },
  "luminance": 0.14465
}

Semantic roles & 50–950 ramp

primary
#6B50E4
secondary
#DAE4AC
accent
#D510B1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6B50E4

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

Preview Lab → · Contrast checker → · Palette generator →

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