#6A50EB#6A50EB

#6A50EB is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.1% C 0.222 H 284.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6A50EB
RGBrgb(106, 80, 235)
HSLhsl(250, 79%, 62%)
HSVhsv(250, 66%, 92%)
CMYKcmyk(54.9%, 66%, 0%, 7.8%)
CIE-LABlab(45.36, 50.70, -74.82)
CIE-LCHlch(45.36, 90.38, 304.12°)
OKLaboklab(55.06% 0.0539 -0.2151)
OKLCHoklch(55.06% 0.222 284.1)
XYZxyz(23.8033, 14.7982, 80.1832)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A50EB #D1EB50
analogous
#5083EB #6A50EB #B850EB
triadic
#6A50EB #EB6A50 #50EB6A
tetradic
#6A50EB #EB5083 #D1EB50 #50EBB8
square
#6A50EB #EB5083 #D1EB50 #50EBB8
split-complementary
#6A50EB #EBB850 #83EB50
monochromatic
#2D14AD #3C1AE4 #6A50EB #9987F1 #C8BEF8

Accessibility & contrast

On white

5.30
#6A50EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6A50EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A50EB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A50EB#FFFFFF#000000##FFFFFF
##6A50EB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F0
Deuteranopia (green-blind)
#0066E8
Tritanopia (blue-blind)
#2D7797
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a50eb;
/* rgb */ color: rgb(106, 80, 235);
/* oklch */ color: oklch(55.1% 0.222 284.1);
Tailwind
colors: {
  custom: {
    50: '#a083f3',
    500: '#6a50eb',
    950: '#000000',
  },
}
SCSS
$custom: #6a50eb;
$custom-light: #a083f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a50eb",
  "rgb": {
    "r": 106,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 250.065,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55063,
    "c": 0.22176,
    "h": 284.1
  },
  "luminance": 0.148
}

Semantic roles & 50–950 ramp

primary
#6A50EB
secondary
#DEE8AF
accent
#DC0AB9
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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