#6E4FF2#6E4FF2

#6E4FF2 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.231 H 284.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6E4FF2
RGBrgb(110, 79, 242)
HSLhsl(251, 86%, 63%)
HSVhsv(251, 67%, 95%)
CMYKcmyk(54.5%, 67.4%, 0%, 5.1%)
CIE-LABlab(46.06, 53.90, -77.59)
CIE-LCHlch(46.06, 94.47, 304.79°)
OKLaboklab(55.83% 0.059 -0.2231)
OKLCHoklch(55.83% 0.231 284.8)
XYZxyz(25.2485, 15.3163, 85.6131)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4FF2 #D3F24F
analogous
#4F81F2 #6E4FF2 #BF4FF2
triadic
#6E4FF2 #F26E4F #4FF26E
tetradic
#6E4FF2 #F24F81 #D3F24F #4FF2BF
square
#6E4FF2 #F24F81 #D3F24F #4FF2BF
split-complementary
#6E4FF2 #F2BF4F #81F24F
monochromatic
#2E0EB9 #3F16EE #6E4FF2 #9D88F6 #CCC1FA

Accessibility & contrast

On white

5.17
#6E4FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6E4FF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4FF2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4FF2#FFFFFF#000000##FFFFFF
##6E4FF21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0068EF
Tritanopia (blue-blind)
#31799A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6e4ff2;
/* rgb */ color: rgb(110, 79, 242);
/* oklch */ color: oklch(55.8% 0.231 284.8);
Tailwind
colors: {
  custom: {
    50: '#a383f8',
    500: '#6e4ff2',
    950: '#000000',
  },
}
SCSS
$custom: #6e4ff2;
$custom-light: #a383f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4ff2",
  "rgb": {
    "r": 110,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 251.411,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5583,
    "c": 0.23079,
    "h": 284.8
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

primary
#6E4FF2
secondary
#E1ECB1
accent
#E303B8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6E4FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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