#943FCB#943FCB

#943FCB is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.7% C 0.210 H 308.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#943FCB
RGBrgb(148, 63, 203)
HSLhsl(276, 57%, 52%)
HSVhsv(276, 69%, 80%)
CMYKcmyk(27.1%, 69%, 0%, 20.4%)
CIE-LABlab(44.47, 58.73, -57.80)
CIE-LCHlch(44.47, 82.40, 315.46°)
OKLaboklab(54.72% 0.1317 -0.1636)
OKLCHoklch(54.72% 0.21 308.8)
XYZxyz(24.7676, 14.1631, 57.9173)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943FCB #76CB3F
analogous
#4E3FCB #943FCB #CB3FBC
triadic
#943FCB #CB943F #3FCB94
tetradic
#943FCB #CB4E3F #76CB3F #3FBCCB
square
#943FCB #CB4E3F #76CB3F #3FBCCB
split-complementary
#943FCB #BCCB3F #3FCB4E
monochromatic
#511F71 #732CA1 #943FCB #AF6FD8 #CA9FE5

Accessibility & contrast

On white

5.48
#943FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#943FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943FCB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943FCB#FFFFFF#000000##FFFFFF
##943FCB1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#216AC8
Tritanopia (blue-blind)
#8C5E80
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #943fcb;
/* rgb */ color: rgb(148, 63, 203);
/* oklch */ color: oklch(54.7% 0.210 308.8);
Tailwind
colors: {
  custom: {
    50: '#b87bdc',
    500: '#943fcb',
    950: '#000000',
  },
}
SCSS
$custom: #943fcb;
$custom-light: #b87bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#943fcb",
  "rgb": {
    "r": 148,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 276.429,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54716,
    "c": 0.21009,
    "h": 308.8
  },
  "luminance": 0.14163
}

Semantic roles & 50–950 ramp

primary
#943FCB
secondary
#ACD194
accent
#E14783
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #943FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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