#943ECF#943ECF

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

Color values

HEX#943ECF
RGBrgb(148, 62, 207)
HSLhsl(276, 60%, 53%)
HSVhsv(276, 70%, 81%)
CMYKcmyk(28.5%, 70%, 0%, 18.8%)
CIE-LABlab(44.58, 60.05, -59.91)
CIE-LCHlch(44.58, 84.83, 315.07°)
OKLaboklab(54.89% 0.1323 -0.1699)
OKLCHoklch(54.89% 0.215 307.9)
XYZxyz(25.1955, 14.2465, 60.4419)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943ECF #79CF3E
analogous
#4B3ECF #943ECF #CF3EC2
triadic
#943ECF #CF943E #3ECF94
tetradic
#943ECF #CF4B3E #79CF3E #3EC2CF
square
#943ECF #CF4B3E #79CF3E #3EC2CF
split-complementary
#943ECF #C2CF3E #3ECF4B
monochromatic
#521D75 #7429A6 #943ECF #AF6FDB #CAA0E7

Accessibility & contrast

On white

5.46
#943ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#943ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943ECF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943ECF#FFFFFF#000000##FFFFFF
##943ECF1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#166ACC
Tritanopia (blue-blind)
#8B5F82
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #943ecf;
/* rgb */ color: rgb(148, 62, 207);
/* oklch */ color: oklch(54.9% 0.215 307.9);
Tailwind
colors: {
  custom: {
    50: '#b87ade',
    500: '#943ecf',
    950: '#000000',
  },
}
SCSS
$custom: #943ecf;
$custom-light: #b87ade;
$custom-dark: #000000;
JSON
{
  "hex": "#943ecf",
  "rgb": {
    "r": 148,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 275.586,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54887,
    "c": 0.21529,
    "h": 307.9
  },
  "luminance": 0.14246
}

Semantic roles & 50–950 ramp

primary
#943ECF
secondary
#AFD495
accent
#E34485
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #943ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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