#943BD2#943BD2

#943BD2 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.8% C 0.222 H 307.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#943BD2
RGBrgb(148, 59, 210)
HSLhsl(275, 63%, 53%)
HSVhsv(275, 72%, 82%)
CMYKcmyk(29.5%, 71.9%, 0%, 17.6%)
CIE-LABlab(44.34, 61.99, -62.03)
CIE-LCHlch(44.34, 87.69, 314.98°)
OKLaboklab(54.78% 0.1348 -0.1761)
OKLCHoklch(54.78% 0.222 307.4)
XYZxyz(25.4071, 14.0773, 62.3390)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943BD2 #79D23B
analogous
#483BD2 #943BD2 #D23BC5
triadic
#943BD2 #D2943B #3BD294
tetradic
#943BD2 #D2483B #79D23B #3BC5D2
square
#943BD2 #D2483B #79D23B #3BC5D2
split-complementary
#943BD2 #C5D23B #3BD248
monochromatic
#521B77 #7427A9 #943BD2 #AF6DDD #CA9FE9

Accessibility & contrast

On white

5.50
#943BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#943BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943BD2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943BD2#FFFFFF#000000##FFFFFF
##943BD21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#006ACF
Tritanopia (blue-blind)
#8A5E83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #943bd2;
/* rgb */ color: rgb(148, 59, 210);
/* oklch */ color: oklch(54.8% 0.222 307.4);
Tailwind
colors: {
  custom: {
    50: '#b979e1',
    500: '#943bd2',
    950: '#000000',
  },
}
SCSS
$custom: #943bd2;
$custom-light: #b979e1;
$custom-dark: #000000;
JSON
{
  "hex": "#943bd2",
  "rgb": {
    "r": 148,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 275.364,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54783,
    "c": 0.22173,
    "h": 307.4
  },
  "luminance": 0.14077
}

Semantic roles & 50–950 ramp

primary
#943BD2
secondary
#AFD594
accent
#E64285
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #943BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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