#4E2EED#4E2EED

#4E2EED is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.8% C 0.261 H 278.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4E2EED
RGBrgb(78, 46, 237)
HSLhsl(250, 84%, 55%)
HSVhsv(250, 81%, 93%)
CMYKcmyk(67.1%, 80.6%, 0%, 7.1%)
CIE-LABlab(37.27, 64.76, -89.33)
CIE-LCHlch(37.27, 110.34, 305.94°)
OKLaboklab(48.84% 0.0374 -0.258)
OKLCHoklch(48.84% 0.261 278.2)
XYZxyz(19.4000, 9.6864, 80.9516)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2EED #CDED2E
analogous
#2E6EED #4E2EED #AD2EED
triadic
#4E2EED #ED4E2E #2EED4E
tetradic
#4E2EED #ED2E6E #CDED2E #2EEDAD
square
#4E2EED #ED2E6E #CDED2E #2EEDAD
split-complementary
#4E2EED #EDAD2E #6EED2E
monochromatic
#230D94 #3112CC #4E2EED #7E66F2 #AD9FF7

Accessibility & contrast

On white

7.15
#4E2EED on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4E2EED on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2EED
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2EED#FFFFFF#000000##FFFFFF
##4E2EED1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FF2
Deuteranopia (green-blind)
#0050EA
Tritanopia (blue-blind)
#006A8F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e2eed;
/* rgb */ color: rgb(78, 46, 237);
/* oklch */ color: oklch(48.8% 0.261 278.2);
Tailwind
colors: {
  custom: {
    50: '#956ef4',
    500: '#4e2eed',
    950: '#000000',
  },
}
SCSS
$custom: #4e2eed;
$custom-light: #956ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2eed",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 237
  },
  "hsl": {
    "h": 250.052,
    "s": 84.141,
    "l": 55.49
  },
  "oklch": {
    "l": 0.48839,
    "c": 0.26073,
    "h": 278.2
  },
  "luminance": 0.09688
}

Semantic roles & 50–950 ramp

primary
#4E2EED
secondary
#D6E394
accent
#FA2DD8
background
#FAF6FF
surface
#F4ECFF
border
#CEC7D7
text
#0F0817
muted
#7F7B85

Preview Lab

Preview with #4E2EED

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

Preview Lab → · Contrast checker → · Palette generator →

#4E2EED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva