#943CDB#943CDB

#943CDB is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.6% C 0.229 H 305.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#943CDB
RGBrgb(148, 60, 219)
HSLhsl(273, 69%, 55%)
HSVhsv(273, 73%, 86%)
CMYKcmyk(32.4%, 72.6%, 0%, 14.1%)
CIE-LABlab(45.14, 63.57, -65.90)
CIE-LCHlch(45.14, 91.56, 313.97°)
OKLaboklab(55.55% 0.1323 -0.1874)
OKLCHoklch(55.55% 0.229 305.2)
XYZxyz(26.6119, 14.6423, 68.4284)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943CDB #83DB3C
analogous
#453CDB #943CDB #DB3CD2
triadic
#943CDB #DB943C #3CDB94
tetradic
#943CDB #DB453C #83DB3C #3CD2DB
square
#943CDB #DB453C #83DB3C #3CD2DB
split-complementary
#943CDB #D2DB3C #3CDB45
monochromatic
#541884 #7522B8 #943CDB #B070E5 #CDA3EE

Accessibility & contrast

On white

5.35
#943CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#943CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943CDB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943CDB#FFFFFF#000000##FFFFFF
##943CDB1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#876288
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #943cdb;
/* rgb */ color: rgb(148, 60, 219);
/* oklch */ color: oklch(55.6% 0.229 305.2);
Tailwind
colors: {
  custom: {
    50: '#b97ae7',
    500: '#943cdb',
    950: '#000000',
  },
}
SCSS
$custom: #943cdb;
$custom-light: #b97ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#943cdb",
  "rgb": {
    "r": 148,
    "g": 60,
    "b": 219
  },
  "hsl": {
    "h": 273.208,
    "s": 68.831,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55551,
    "c": 0.22942,
    "h": 305.2
  },
  "luminance": 0.14642
}

Semantic roles & 50–950 ramp

primary
#943CDB
secondary
#B6DB98
accent
#EC3C8B
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #943CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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