#6E4CEB#6E4CEB

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

Color values

HEX#6E4CEB
RGBrgb(110, 76, 235)
HSLhsl(253, 80%, 61%)
HSVhsv(253, 68%, 92%)
CMYKcmyk(53.2%, 67.7%, 0%, 7.8%)
CIE-LABlab(44.91, 53.49, -75.53)
CIE-LCHlch(44.91, 92.55, 305.31°)
OKLaboklab(54.83% 0.0627 -0.2171)
OKLCHoklch(54.83% 0.226 286.1)
XYZxyz(24.0058, 14.4808, 80.1113)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4CEB #C9EB4C
analogous
#4C79EB #6E4CEB #BD4CEB
triadic
#6E4CEB #EB6E4C #4CEB6E
tetradic
#6E4CEB #EB4C79 #C9EB4C #4CEBBD
square
#6E4CEB #EB4C79 #C9EB4C #4CEBBD
split-complementary
#6E4CEB #EBBD4C #79EB4C
monochromatic
#3313AA #4419E1 #6E4CEB #9B83F1 #C7BAF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E4CEB#FFFFFF#000000##FFFFFF
##6E4CEB1.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)
#006EF0
Deuteranopia (green-blind)
#0066E8
Tritanopia (blue-blind)
#3A7596
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6e4ceb;
/* rgb */ color: rgb(110, 76, 235);
/* oklch */ color: oklch(54.8% 0.226 286.1);
Tailwind
colors: {
  custom: {
    50: '#a381f3',
    500: '#6e4ceb',
    950: '#000000',
  },
}
SCSS
$custom: #6e4ceb;
$custom-light: #a381f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4ceb",
  "rgb": {
    "r": 110,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 252.83,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5483,
    "c": 0.22593,
    "h": 286.1
  },
  "luminance": 0.14482
}

Semantic roles & 50–950 ramp

primary
#6E4CEB
secondary
#DBE7AB
accent
#DC09AF
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6E4CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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