#913ED4#913ED4

#913ED4 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.220 H 305.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#913ED4
RGBrgb(145, 62, 212)
HSLhsl(273, 64%, 54%)
HSVhsv(273, 71%, 83%)
CMYKcmyk(31.6%, 70.8%, 0%, 16.9%)
CIE-LABlab(44.54, 60.58, -62.87)
CIE-LCHlch(44.54, 87.31, 313.94°)
OKLaboklab(54.89% 0.1275 -0.1787)
OKLCHoklch(54.89% 0.22 305.5)
XYZxyz(25.2807, 14.2186, 63.6872)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#913ED4 #81D43E
analogous
#463ED4 #913ED4 #D43ECC
triadic
#913ED4 #D4913E #3ED491
tetradic
#913ED4 #D4463E #81D43E #3ECCD4
square
#913ED4 #D4463E #81D43E #3ECCD4
split-complementary
#913ED4 #CCD43E #3ED446
monochromatic
#511C7C #7227AE #913ED4 #AE70DF #CAA2EA

Accessibility & contrast

On white

5.46
#913ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#913ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #913ED4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##913ED4#FFFFFF#000000##FFFFFF
##913ED41.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#856185
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #913ed4;
/* rgb */ color: rgb(145, 62, 212);
/* oklch */ color: oklch(54.9% 0.220 305.5);
Tailwind
colors: {
  custom: {
    50: '#b77ae2',
    500: '#913ed4',
    950: '#000000',
  },
}
SCSS
$custom: #913ed4;
$custom-light: #b77ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#913ed4",
  "rgb": {
    "r": 145,
    "g": 62,
    "b": 212
  },
  "hsl": {
    "h": 273.2,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54887,
    "c": 0.21952,
    "h": 305.5
  },
  "luminance": 0.14218
}

Semantic roles & 50–950 ramp

primary
#913ED4
secondary
#B3D797
accent
#E7418B
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #913ED4

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

Preview Lab → · Contrast checker → · Palette generator →

#913ED4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva