#943FDC#943FDC

#943FDC is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.9% C 0.227 H 304.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#943FDC
RGBrgb(148, 63, 220)
HSLhsl(272, 69%, 55%)
HSVhsv(272, 71%, 86%)
CMYKcmyk(32.7%, 71.4%, 0%, 13.7%)
CIE-LABlab(45.66, 62.53, -65.63)
CIE-LCHlch(45.66, 90.64, 313.61°)
OKLaboklab(55.94% 0.1293 -0.1867)
OKLCHoklch(55.94% 0.227 304.7)
XYZxyz(26.9056, 15.0184, 69.1777)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943FDC #87DC3F
analogous
#453FDC #943FDC #DC3FD6
triadic
#943FDC #DC943F #3FDC94
tetradic
#943FDC #DC453F #87DC3F #3FD6DC
square
#943FDC #DC453F #87DC3F #3FD6DC
split-complementary
#943FDC #D6DC3F #3FDC45
monochromatic
#551988 #7522BC #943FDC #B173E5 #CEA7EF

Accessibility & contrast

On white

5.25
#943FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#943FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943FDC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943FDC#FFFFFF#000000##FFFFFF
##943FDC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#86648A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #943fdc;
/* rgb */ color: rgb(148, 63, 220);
/* oklch */ color: oklch(55.9% 0.227 304.7);
Tailwind
colors: {
  custom: {
    50: '#b97be8',
    500: '#943fdc',
    950: '#000000',
  },
}
SCSS
$custom: #943fdc;
$custom-light: #b97be8;
$custom-dark: #000000;
JSON
{
  "hex": "#943fdc",
  "rgb": {
    "r": 148,
    "g": 63,
    "b": 220
  },
  "hsl": {
    "h": 272.484,
    "s": 69.163,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55942,
    "c": 0.22705,
    "h": 304.7
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#943FDC
secondary
#B9DC9B
accent
#EC3C8D
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #943FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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