#6E2ECA#6E2ECA

#6E2ECA is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.221 H 295.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6E2ECA
RGBrgb(110, 46, 202)
HSLhsl(265, 63%, 49%)
HSVhsv(265, 77%, 79%)
CMYKcmyk(45.5%, 77.2%, 0%, 20.8%)
CIE-LABlab(36.99, 59.07, -69.59)
CIE-LCHlch(36.99, 91.28, 310.32°)
OKLaboklab(48.37% 0.0947 -0.1995)
OKLCHoklch(48.37% 0.221 295.4)
XYZxyz(18.0652, 9.5328, 56.7539)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2ECA #8ACA2E
analogous
#2E3CCA #6E2ECA #BC2ECA
triadic
#6E2ECA #CA6E2E #2ECA6E
tetradic
#6E2ECA #CA2E3C #8ACA2E #2ECABC
square
#6E2ECA #CA2E3C #8ACA2E #2ECABC
split-complementary
#6E2ECA #CABC2E #3CCA2E
monochromatic
#381766 #532398 #6E2ECA #8F5BDA #B18DE5

Accessibility & contrast

On white

7.22
#6E2ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6E2ECA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2ECA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2ECA#FFFFFF#000000##FFFFFF
##6E2ECA1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#54597B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6e2eca;
/* rgb */ color: rgb(110, 46, 202);
/* oklch */ color: oklch(48.4% 0.221 295.4);
Tailwind
colors: {
  custom: {
    50: '#a06edb',
    500: '#6e2eca',
    950: '#000000',
  },
}
SCSS
$custom: #6e2eca;
$custom-light: #a06edb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2eca",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 202
  },
  "hsl": {
    "h": 264.615,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48365,
    "c": 0.22084,
    "h": 295.4
  },
  "luminance": 0.09533
}

Semantic roles & 50–950 ramp

primary
#6E2ECA
secondary
#B1CF84
accent
#E642A3
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6E2ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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