#943ED5#943ED5

#943ED5 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.3% C 0.221 H 306.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#943ED5
RGBrgb(148, 62, 213)
HSLhsl(274, 64%, 54%)
HSVhsv(274, 71%, 84%)
CMYKcmyk(30.5%, 70.9%, 0%, 16.5%)
CIE-LABlab(45.01, 61.38, -62.68)
CIE-LCHlch(45.01, 87.73, 314.40°)
OKLaboklab(55.32% 0.1314 -0.178)
OKLCHoklch(55.32% 0.221 306.4)
XYZxyz(25.9430, 14.5455, 64.3787)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943ED5 #7FD53E
analogous
#493ED5 #943ED5 #D53ECB
triadic
#943ED5 #D5943E #3ED594
tetradic
#943ED5 #D5493E #7FD53E #3ECBD5
square
#943ED5 #D5493E #7FD53E #3ECBD5
split-complementary
#943ED5 #CBD53E #3ED549
monochromatic
#531B7D #7426B0 #943ED5 #B070E0 #CCA3EB

Accessibility & contrast

On white

5.37
#943ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#943ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943ED5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943ED5#FFFFFF#000000##FFFFFF
##943ED51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#896186
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #943ed5;
/* rgb */ color: rgb(148, 62, 213);
/* oklch */ color: oklch(55.3% 0.221 306.4);
Tailwind
colors: {
  custom: {
    50: '#b97ae3',
    500: '#943ed5',
    950: '#000000',
  },
}
SCSS
$custom: #943ed5;
$custom-light: #b97ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#943ed5",
  "rgb": {
    "r": 148,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 274.172,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55319,
    "c": 0.22123,
    "h": 306.4
  },
  "luminance": 0.14545
}

Semantic roles & 50–950 ramp

primary
#943ED5
secondary
#B3D897
accent
#E74188
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #943ED5

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

Preview Lab → · Contrast checker → · Palette generator →

#943ED5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva