#9442D2#9442D2

#9442D2 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.5% C 0.213 H 306.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9442D2
RGBrgb(148, 66, 210)
HSLhsl(274, 62%, 54%)
HSVhsv(274, 69%, 82%)
CMYKcmyk(29.5%, 68.6%, 0%, 17.6%)
CIE-LABlab(45.42, 58.95, -60.29)
CIE-LCHlch(45.42, 84.32, 314.36°)
OKLaboklab(55.55% 0.1278 -0.171)
OKLCHoklch(55.55% 0.213 306.8)
XYZxyz(25.7913, 14.8458, 62.4671)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9442D2 #80D242
analogous
#4C42D2 #9442D2 #D242C8
triadic
#9442D2 #D29442 #42D294
tetradic
#9442D2 #D24C42 #80D242 #42C8D2
square
#9442D2 #D24C42 #80D242 #42C8D2
split-complementary
#9442D2 #C8D242 #42D24C
monochromatic
#531E7C #7529AD #9442D2 #B073DE #CCA5EA

Accessibility & contrast

On white

5.29
#9442D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9442D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9442D2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9442D2#FFFFFF#000000##FFFFFF
##9442D21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#176CCF
Tritanopia (blue-blind)
#8A6285
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9442d2;
/* rgb */ color: rgb(148, 66, 210);
/* oklch */ color: oklch(55.5% 0.213 306.8);
Tailwind
colors: {
  custom: {
    50: '#b87ce1',
    500: '#9442d2',
    950: '#000000',
  },
}
SCSS
$custom: #9442d2;
$custom-light: #b87ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#9442d2",
  "rgb": {
    "r": 148,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 274.167,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5555,
    "c": 0.21343,
    "h": 306.8
  },
  "luminance": 0.14845
}

Semantic roles & 50–950 ramp

primary
#9442D2
secondary
#B4D799
accent
#E54389
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9442D2

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

Preview Lab → · Contrast checker → · Palette generator →

#9442D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva