#943CCB#943CCB

#943CCB is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.4% C 0.214 H 309.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#943CCB
RGBrgb(148, 60, 203)
HSLhsl(277, 58%, 52%)
HSVhsv(277, 70%, 80%)
CMYKcmyk(27.1%, 70.4%, 0%, 20.4%)
CIE-LABlab(44.00, 60.04, -58.55)
CIE-LCHlch(44.00, 83.86, 315.72°)
OKLaboklab(54.38% 0.1348 -0.1658)
OKLCHoklch(54.38% 0.214 309.1)
XYZxyz(24.6059, 13.8399, 57.8635)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943CCB #73CB3C
analogous
#4D3CCB #943CCB #CB3CBB
triadic
#943CCB #CB943C #3CCB94
tetradic
#943CCB #CB4D3C #73CB3C #3CBBCB
square
#943CCB #CB4D3C #73CB3C #3CBBCB
split-complementary
#943CCB #BBCB3C #3CCB4D
monochromatic
#501E6F #722A9F #943CCB #AF6CD8 #C99DE5

Accessibility & contrast

On white

5.57
#943CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#943CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943CCB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943CCB#FFFFFF#000000##FFFFFF
##943CCB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #943ccb;
/* rgb */ color: rgb(148, 60, 203);
/* oklch */ color: oklch(54.4% 0.214 309.1);
Tailwind
colors: {
  custom: {
    50: '#b879dc',
    500: '#943ccb',
    950: '#000000',
  },
}
SCSS
$custom: #943ccb;
$custom-light: #b879dc;
$custom-dark: #000000;
JSON
{
  "hex": "#943ccb",
  "rgb": {
    "r": 148,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 276.923,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54385,
    "c": 0.21373,
    "h": 309.1
  },
  "luminance": 0.13839
}

Semantic roles & 50–950 ramp

primary
#943CCB
secondary
#AAD192
accent
#E14782
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #943CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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