#6E4CDE#6E4CDE

#6E4CDE is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.8% C 0.210 H 287.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6E4CDE
RGBrgb(110, 76, 222)
HSLhsl(254, 69%, 58%)
HSVhsv(254, 66%, 87%)
CMYKcmyk(50.5%, 65.8%, 0%, 12.9%)
CIE-LABlab(43.88, 49.79, -69.84)
CIE-LCHlch(43.88, 85.77, 305.48°)
OKLaboklab(53.77% 0.0645 -0.2004)
OKLCHoklch(53.77% 0.211 287.9)
XYZxyz(22.1958, 13.7568, 70.5789)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4CDE #BCDE4C
analogous
#4C73DE #6E4CDE #B74CDE
triadic
#6E4CDE #DE6E4C #4CDE6E
tetradic
#6E4CDE #DE4C73 #BCDE4C #4CDEB7
square
#6E4CDE #DE4C73 #BCDE4C #4CDEB7
split-complementary
#6E4CDE #DEB74C #73DE4C
monochromatic
#371B94 #4B25C8 #6E4CDE #9880E8 #C2B3F1

Accessibility & contrast

On white

5.60
#6E4CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6E4CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4CDE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4CDE#FFFFFF#000000##FFFFFF
##6E4CDE1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE3
Deuteranopia (green-blind)
#0064DB
Tritanopia (blue-blind)
#45708F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6e4cde;
/* rgb */ color: rgb(110, 76, 222);
/* oklch */ color: oklch(53.8% 0.210 287.9);
Tailwind
colors: {
  custom: {
    50: '#a180e9',
    500: '#6e4cde',
    950: '#000000',
  },
}
SCSS
$custom: #6e4cde;
$custom-light: #a180e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4cde",
  "rgb": {
    "r": 110,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 253.973,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53768,
    "c": 0.2105,
    "h": 287.9
  },
  "luminance": 0.13758
}

Semantic roles & 50–950 ramp

primary
#6E4CDE
secondary
#D2E0A6
accent
#EC3CC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6E4CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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