#943FD2#943FD2

#943FD2 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.2% C 0.217 H 307.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#943FD2
RGBrgb(148, 63, 210)
HSLhsl(275, 62%, 54%)
HSVhsv(275, 70%, 82%)
CMYKcmyk(29.5%, 70%, 0%, 17.6%)
CIE-LABlab(44.95, 60.28, -61.05)
CIE-LCHlch(44.95, 85.80, 314.64°)
OKLaboklab(55.21% 0.1308 -0.1732)
OKLCHoklch(55.21% 0.217 307.1)
XYZxyz(25.6206, 14.5044, 62.4102)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943FD2 #7DD23F
analogous
#4A3FD2 #943FD2 #D23FC6
triadic
#943FD2 #D2943F #3FD294
tetradic
#943FD2 #D24A3F #7DD23F #3FC6D2
square
#943FD2 #D24A3F #7DD23F #3FC6D2
split-complementary
#943FD2 #C6D23F #3FD24A
monochromatic
#531D7A #7428AC #943FD2 #B071DE #CBA2E9

Accessibility & contrast

On white

5.38
#943FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#943FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943FD2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943FD2#FFFFFF#000000##FFFFFF
##943FD21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0F6BCF
Tritanopia (blue-blind)
#8A6084
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #943fd2;
/* rgb */ color: rgb(148, 63, 210);
/* oklch */ color: oklch(55.2% 0.217 307.1);
Tailwind
colors: {
  custom: {
    50: '#b87be1',
    500: '#943fd2',
    950: '#000000',
  },
}
SCSS
$custom: #943fd2;
$custom-light: #b87be1;
$custom-dark: #000000;
JSON
{
  "hex": "#943fd2",
  "rgb": {
    "r": 148,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 274.694,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55212,
    "c": 0.21708,
    "h": 307.1
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#943FD2
secondary
#B1D697
accent
#E54387
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #943FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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