#943BCB#943BCB

#943BCB is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.3% C 0.215 H 309.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#943BCB
RGBrgb(148, 59, 203)
HSLhsl(277, 58%, 51%)
HSVhsv(277, 71%, 80%)
CMYKcmyk(27.1%, 70.9%, 0%, 20.4%)
CIE-LABlab(43.85, 60.46, -58.79)
CIE-LCHlch(43.85, 84.33, 315.80°)
OKLaboklab(54.28% 0.1358 -0.1665)
OKLCHoklch(54.28% 0.215 309.2)
XYZxyz(24.5540, 13.7361, 57.8462)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943BCB #72CB3B
analogous
#4C3BCB #943BCB #CB3BBA
triadic
#943BCB #CB943B #3BCB94
tetradic
#943BCB #CB4C3B #72CB3B #3BBACB
square
#943BCB #CB4C3B #72CB3B #3BBACB
split-complementary
#943BCB #BACB3B #3BCB4C
monochromatic
#4F1D6E #722A9F #943BCB #AE6BD8 #C99CE5

Accessibility & contrast

On white

5.60
#943BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#943BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943BCB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943BCB#FFFFFF#000000##FFFFFF
##943BCB1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#1A69C8
Tritanopia (blue-blind)
#8C5B7F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #943bcb;
/* rgb */ color: rgb(148, 59, 203);
/* oklch */ color: oklch(54.3% 0.215 309.2);
Tailwind
colors: {
  custom: {
    50: '#b879dc',
    500: '#943bcb',
    950: '#000000',
  },
}
SCSS
$custom: #943bcb;
$custom-light: #b879dc;
$custom-dark: #000000;
JSON
{
  "hex": "#943bcb",
  "rgb": {
    "r": 148,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 277.083,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54278,
    "c": 0.21492,
    "h": 309.2
  },
  "luminance": 0.13736
}

Semantic roles & 50–950 ramp

primary
#943BCB
secondary
#A9D191
accent
#E14782
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #943BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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