#943FD7#943FD7

#943FD7 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.6% C 0.222 H 305.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#943FD7
RGBrgb(148, 63, 215)
HSLhsl(274, 66%, 55%)
HSVhsv(274, 71%, 84%)
CMYKcmyk(31.2%, 70.7%, 0%, 15.7%)
CIE-LABlab(45.30, 61.40, -63.35)
CIE-LCHlch(45.30, 88.22, 314.10°)
OKLaboklab(55.57% 0.1301 -0.18)
OKLCHoklch(55.57% 0.222 305.9)
XYZxyz(26.2533, 14.7574, 65.7422)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943FD7 #82D73F
analogous
#483FD7 #943FD7 #D73FCE
triadic
#943FD7 #D7943F #3FD794
tetradic
#943FD7 #D7483F #82D73F #3FCED7
square
#943FD7 #D7483F #82D73F #3FCED7
split-complementary
#943FD7 #CED73F #3FD748
monochromatic
#541B81 #7525B3 #943FD7 #B072E2 #CCA4EC

Accessibility & contrast

On white

5.31
#943FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#943FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943FD7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943FD7#FFFFFF#000000##FFFFFF
##943FD71.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #943fd7;
/* rgb */ color: rgb(148, 63, 215);
/* oklch */ color: oklch(55.6% 0.222 305.9);
Tailwind
colors: {
  custom: {
    50: '#b97be4',
    500: '#943fd7',
    950: '#000000',
  },
}
SCSS
$custom: #943fd7;
$custom-light: #b97be4;
$custom-dark: #000000;
JSON
{
  "hex": "#943fd7",
  "rgb": {
    "r": 148,
    "g": 63,
    "b": 215
  },
  "hsl": {
    "h": 273.553,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55574,
    "c": 0.22207,
    "h": 305.9
  },
  "luminance": 0.14757
}

Semantic roles & 50–950 ramp

primary
#943FD7
secondary
#B5D999
accent
#E83F8A
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #943FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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