#6E4FEB#6E4FEB

#6E4FEB is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.3% C 0.223 H 285.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6E4FEB
RGBrgb(110, 79, 235)
HSLhsl(252, 80%, 62%)
HSVhsv(252, 66%, 92%)
CMYKcmyk(53.2%, 66.4%, 0%, 7.8%)
CIE-LABlab(45.50, 51.88, -74.57)
CIE-LCHlch(45.50, 90.84, 304.83°)
OKLaboklab(55.25% 0.0601 -0.2142)
OKLCHoklch(55.25% 0.223 285.7)
XYZxyz(24.2173, 14.9038, 80.1818)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4FEB #CCEB4F
analogous
#4F7EEB #6E4FEB #BC4FEB
triadic
#6E4FEB #EB6E4F #4FEB6E
tetradic
#6E4FEB #EB4F7E #CCEB4F #4FEBBC
square
#6E4FEB #EB4F7E #CCEB4F #4FEBBC
split-complementary
#6E4FEB #EBBC4F #7EEB4F
monochromatic
#3214AC #421AE3 #6E4FEB #9B86F1 #C9BDF7

Accessibility & contrast

On white

5.28
#6E4FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6E4FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4FEB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4FEB#FFFFFF#000000##FFFFFF
##6E4FEB1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F0
Deuteranopia (green-blind)
#0067E8
Tritanopia (blue-blind)
#397797
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6e4feb;
/* rgb */ color: rgb(110, 79, 235);
/* oklch */ color: oklch(55.3% 0.223 285.7);
Tailwind
colors: {
  custom: {
    50: '#a282f3',
    500: '#6e4feb',
    950: '#000000',
  },
}
SCSS
$custom: #6e4feb;
$custom-light: #a282f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4feb",
  "rgb": {
    "r": 110,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 251.923,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55252,
    "c": 0.22251,
    "h": 285.7
  },
  "luminance": 0.14905
}

Semantic roles & 50–950 ramp

primary
#6E4FEB
secondary
#DCE8AE
accent
#DC0AB2
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6E4FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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