#943ED7#943ED7

#943ED7 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.5% C 0.223 H 306.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#943ED7
RGBrgb(148, 62, 215)
HSLhsl(274, 66%, 54%)
HSVhsv(274, 71%, 84%)
CMYKcmyk(31.2%, 71.2%, 0%, 15.7%)
CIE-LABlab(45.15, 61.83, -63.60)
CIE-LCHlch(45.15, 88.70, 314.19°)
OKLaboklab(55.47% 0.1311 -0.1807)
OKLCHoklch(55.47% 0.223 306)
XYZxyz(26.1984, 14.6477, 65.7239)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943ED7 #81D73E
analogous
#483ED7 #943ED7 #D73ECE
triadic
#943ED7 #D7943E #3ED794
tetradic
#943ED7 #D7483E #81D73E #3ECED7
square
#943ED7 #D7483E #81D73E #3ECED7
split-complementary
#943ED7 #CED73E #3ED748
monochromatic
#541B80 #7525B3 #943ED7 #B071E2 #CCA3EC

Accessibility & contrast

On white

5.34
#943ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #943ED7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943ED7#FFFFFF#000000##FFFFFF
##943ED71.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#886287
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #943ed7;
/* rgb */ color: rgb(148, 62, 215);
/* oklch */ color: oklch(55.5% 0.223 306.0);
Tailwind
colors: {
  custom: {
    50: '#b97be4',
    500: '#943ed7',
    950: '#000000',
  },
}
SCSS
$custom: #943ed7;
$custom-light: #b97be4;
$custom-dark: #000000;
JSON
{
  "hex": "#943ed7",
  "rgb": {
    "r": 148,
    "g": 62,
    "b": 215
  },
  "hsl": {
    "h": 273.725,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55466,
    "c": 0.22323,
    "h": 306
  },
  "luminance": 0.14647
}

Semantic roles & 50–950 ramp

primary
#943ED7
secondary
#B4D998
accent
#E93F89
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #943ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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