#943EDB#943EDB

#943EDB is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.8% C 0.227 H 305.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#943EDB
RGBrgb(148, 62, 219)
HSLhsl(273, 69%, 55%)
HSVhsv(273, 72%, 86%)
CMYKcmyk(32.4%, 71.7%, 0%, 14.1%)
CIE-LABlab(45.44, 62.73, -65.42)
CIE-LCHlch(45.44, 90.63, 313.80°)
OKLaboklab(55.76% 0.1304 -0.186)
OKLCHoklch(55.76% 0.227 305)
XYZxyz(26.7187, 14.8558, 68.4640)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943EDB #85DB3E
analogous
#453EDB #943EDB #DB3ED4
triadic
#943EDB #DB943E #3EDB94
tetradic
#943EDB #DB453E #85DB3E #3ED4DB
square
#943EDB #DB453E #85DB3E #3ED4DB
split-complementary
#943EDB #D4DB3E #3EDB45
monochromatic
#541986 #7523B9 #943EDB #B172E5 #CDA5EE

Accessibility & contrast

On white

5.29
#943EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#943EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943EDB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943EDB#FFFFFF#000000##FFFFFF
##943EDB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#876489
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #943edb;
/* rgb */ color: rgb(148, 62, 219);
/* oklch */ color: oklch(55.8% 0.227 305.0);
Tailwind
colors: {
  custom: {
    50: '#b97be7',
    500: '#943edb',
    950: '#000000',
  },
}
SCSS
$custom: #943edb;
$custom-light: #b97be7;
$custom-dark: #000000;
JSON
{
  "hex": "#943edb",
  "rgb": {
    "r": 148,
    "g": 62,
    "b": 219
  },
  "hsl": {
    "h": 272.866,
    "s": 68.559,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55761,
    "c": 0.2272,
    "h": 305
  },
  "luminance": 0.14856
}

Semantic roles & 50–950 ramp

primary
#943EDB
secondary
#B7DB99
accent
#EB3C8C
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #943EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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