#943EC2#943EC2

#943EC2 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.202 H 311.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#943EC2
RGBrgb(148, 62, 194)
HSLhsl(279, 52%, 50%)
HSVhsv(279, 68%, 76%)
CMYKcmyk(23.7%, 68%, 0%, 23.9%)
CIE-LABlab(43.71, 57.22, -53.80)
CIE-LCHlch(43.71, 78.54, 316.76°)
OKLaboklab(53.98% 0.1337 -0.1519)
OKLCHoklch(53.98% 0.202 311.4)
XYZxyz(23.6712, 13.6368, 52.4137)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943EC2 #6CC23E
analogous
#523EC2 #943EC2 #C23EAE
triadic
#943EC2 #C2943E #3EC294
tetradic
#943EC2 #C2523E #6CC23E #3EAEC2
square
#943EC2 #C2523E #6CC23E #3EAEC2
split-complementary
#943EC2 #AEC23E #3EC252
monochromatic
#4D2066 #712F94 #943EC2 #AE6DD1 #C89BDF

Accessibility & contrast

On white

5.63
#943EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#943EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943EC2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943EC2#FFFFFF#000000##FFFFFF
##943EC21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#2E69BF
Tritanopia (blue-blind)
#8E5A7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #943ec2;
/* rgb */ color: rgb(148, 62, 194);
/* oklch */ color: oklch(54.0% 0.202 311.4);
Tailwind
colors: {
  custom: {
    50: '#b77ad5',
    500: '#943ec2',
    950: '#000000',
  },
}
SCSS
$custom: #943ec2;
$custom-light: #b77ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#943ec2",
  "rgb": {
    "r": 148,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 279.091,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53983,
    "c": 0.20239,
    "h": 311.4
  },
  "luminance": 0.13636
}

Semantic roles & 50–950 ramp

primary
#943EC2
secondary
#A5CB90
accent
#DB4C7E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #943EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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