#943ED2#943ED2

#943ED2 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.1% C 0.218 H 307.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#943ED2
RGBrgb(148, 62, 210)
HSLhsl(275, 62%, 53%)
HSVhsv(275, 70%, 82%)
CMYKcmyk(29.5%, 70.5%, 0%, 17.6%)
CIE-LABlab(44.79, 60.72, -61.30)
CIE-LCHlch(44.79, 86.28, 314.72°)
OKLaboklab(55.1% 0.1318 -0.1739)
OKLCHoklch(55.1% 0.218 307.2)
XYZxyz(25.5658, 14.3946, 62.3919)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943ED2 #7CD23E
analogous
#4A3ED2 #943ED2 #D23EC6
triadic
#943ED2 #D2943E #3ED294
tetradic
#943ED2 #D24A3E #7CD23E #3EC6D2
square
#943ED2 #D24A3E #7CD23E #3EC6D2
split-complementary
#943ED2 #C6D23E #3ED24A
monochromatic
#521C79 #7428AB #943ED2 #B070DE #CBA1E9

Accessibility & contrast

On white

5.41
#943ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#943ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943ED2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943ED2#FFFFFF#000000##FFFFFF
##943ED21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #943ed2;
/* rgb */ color: rgb(148, 62, 210);
/* oklch */ color: oklch(55.1% 0.218 307.2);
Tailwind
colors: {
  custom: {
    50: '#b87ae1',
    500: '#943ed2',
    950: '#000000',
  },
}
SCSS
$custom: #943ed2;
$custom-light: #b87ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#943ed2",
  "rgb": {
    "r": 148,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 274.865,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55102,
    "c": 0.21827,
    "h": 307.2
  },
  "luminance": 0.14394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #943ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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