#934FAC#934FAC

#934FAC is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.7% C 0.154 H 316.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#934FAC
RGBrgb(147, 79, 172)
HSLhsl(284, 37%, 49%)
HSVhsv(284, 54%, 67%)
CMYKcmyk(14.5%, 54.1%, 0%, 32.5%)
CIE-LABlab(45.32, 43.94, -38.34)
CIE-LCHlch(45.32, 58.31, 318.89°)
OKLaboklab(54.71% 0.1114 -0.1068)
OKLCHoklch(54.71% 0.154 316.2)
XYZxyz(22.2739, 14.7743, 40.7001)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#934FAC #68AC4F
analogous
#654FAC #934FAC #AC4F97
triadic
#934FAC #AC934F #4FAC93
tetradic
#934FAC #AC654F #68AC4F #4F97AC
square
#934FAC #AC654F #68AC4F #4F97AC
split-complementary
#934FAC #97AC4F #4FAC65
monochromatic
#4B2858 #6F3C82 #934FAC #AD77C1 #C6A1D4

Accessibility & contrast

On white

5.31
#934FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#934FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #934FAC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##934FAC#FFFFFF#000000##FFFFFF
##934FAC1.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)
#3A67AF
Deuteranopia (green-blind)
#506DAA
Tritanopia (blue-blind)
#925E76
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #934fac;
/* rgb */ color: rgb(147, 79, 172);
/* oklch */ color: oklch(54.7% 0.154 316.2);
Tailwind
colors: {
  custom: {
    50: '#b583c5',
    500: '#934fac',
    950: '#000000',
  },
}
SCSS
$custom: #934fac;
$custom-light: #b583c5;
$custom-dark: #000000;
JSON
{
  "hex": "#934fac",
  "rgb": {
    "r": 147,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 283.871,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54709,
    "c": 0.15435,
    "h": 316.2
  },
  "luminance": 0.14774
}

Semantic roles & 50–950 ramp

primary
#934FAC
secondary
#A1C196
accent
#CD5B79
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #934FAC

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

Preview Lab → · Contrast checker → · Palette generator →

#934FAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva