#943AE1#943AE1

#943AE1 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.8% C 0.237 H 304.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#943AE1
RGBrgb(148, 58, 225)
HSLhsl(272, 74%, 55%)
HSVhsv(272, 74%, 88%)
CMYKcmyk(34.2%, 74.2%, 0%, 11.8%)
CIE-LABlab(45.30, 65.72, -69.06)
CIE-LCHlch(45.30, 95.33, 313.58°)
OKLaboklab(55.81% 0.1329 -0.1967)
OKLCHoklch(55.81% 0.237 304)
XYZxyz(27.3133, 14.7583, 72.6293)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943AE1 #87E13A
analogous
#403AE1 #943AE1 #E13ADB
triadic
#943AE1 #E1943A #3AE194
tetradic
#943AE1 #E1403A #87E13A #3ADBE1
square
#943AE1 #E1403A #87E13A #3ADBE1
split-complementary
#943AE1 #DBE13A #3AE140
monochromatic
#55158B #751DC0 #943AE1 #B16FE9 #CEA4F1

Accessibility & contrast

On white

5.31
#943AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#943AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943AE1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943AE1#FFFFFF#000000##FFFFFF
##943AE11.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#006BDE
Tritanopia (blue-blind)
#85648B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #943ae1;
/* rgb */ color: rgb(148, 58, 225);
/* oklch */ color: oklch(55.8% 0.237 304.0);
Tailwind
colors: {
  custom: {
    50: '#ba79eb',
    500: '#943ae1',
    950: '#000000',
  },
}
SCSS
$custom: #943ae1;
$custom-light: #ba79eb;
$custom-dark: #000000;
JSON
{
  "hex": "#943ae1",
  "rgb": {
    "r": 148,
    "g": 58,
    "b": 225
  },
  "hsl": {
    "h": 272.335,
    "s": 73.568,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55805,
    "c": 0.2374,
    "h": 304
  },
  "luminance": 0.14758
}

Semantic roles & 50–950 ramp

primary
#943AE1
secondary
#B9DE99
accent
#F0388D
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #943AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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