#994EC2#994EC2

#994EC2 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.6% C 0.182 H 311.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#994EC2
RGBrgb(153, 78, 194)
HSLhsl(279, 49%, 53%)
HSVhsv(279, 60%, 76%)
CMYKcmyk(21.1%, 59.8%, 0%, 23.9%)
CIE-LABlab(47.13, 50.79, -48.28)
CIE-LCHlch(47.13, 70.07, 316.45°)
OKLaboklab(56.59% 0.1213 -0.1357)
OKLCHoklch(56.59% 0.182 311.8)
XYZxyz(25.5971, 16.1167, 52.7909)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#994EC2 #77C24E
analogous
#5F4EC2 #994EC2 #C24EB1
triadic
#994EC2 #C2994E #4EC299
tetradic
#994EC2 #C25F4E #77C24E #4EB1C2
square
#994EC2 #C25F4E #77C24E #4EB1C2
split-complementary
#994EC2 #B1C24E #4EC25F
monochromatic
#55266F #78369D #994EC2 #B37CD2 #CDA9E1

Accessibility & contrast

On white

4.97
#994EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#994EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #994EC2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##994EC2#FFFFFF#000000##FFFFFF
##994EC21.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256CC6
Deuteranopia (green-blind)
#4571BF
Tritanopia (blue-blind)
#946381
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #994ec2;
/* rgb */ color: rgb(153, 78, 194);
/* oklch */ color: oklch(56.6% 0.182 311.8);
Tailwind
colors: {
  custom: {
    50: '#ba83d5',
    500: '#994ec2',
    950: '#000000',
  },
}
SCSS
$custom: #994ec2;
$custom-light: #ba83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#994ec2",
  "rgb": {
    "r": 153,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 278.793,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56593,
    "c": 0.18199,
    "h": 311.8
  },
  "luminance": 0.16116
}

Semantic roles & 50–950 ramp

primary
#994EC2
secondary
#AFCF9D
accent
#D85080
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #994EC2

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

Preview Lab → · Contrast checker → · Palette generator →

#994EC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva