#9642DD#9642DD

#9642DD is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.6% C 0.225 H 304.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9642DD
RGBrgb(150, 66, 221)
HSLhsl(273, 70%, 56%)
HSVhsv(273, 70%, 87%)
CMYKcmyk(32.1%, 70.1%, 0%, 13.3%)
CIE-LABlab(46.45, 61.83, -64.91)
CIE-LCHlch(46.45, 89.64, 313.61°)
OKLaboklab(56.58% 0.1289 -0.1845)
OKLCHoklch(56.58% 0.225 304.9)
XYZxyz(27.5741, 15.6011, 69.9512)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9642DD #89DD42
analogous
#4942DD #9642DD #DD42D7
triadic
#9642DD #DD9642 #42DD96
tetradic
#9642DD #DD4942 #89DD42 #42D7DD
square
#9642DD #DD4942 #89DD42 #42D7DD
split-complementary
#9642DD #D7DD42 #42DD49
monochromatic
#57198C #7722BF #9642DD #B376E6 #D0AAF0

Accessibility & contrast

On white

5.10
#9642DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9642DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9642DD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9642DD#FFFFFF#000000##FFFFFF
##9642DD1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#89668B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9642dd;
/* rgb */ color: rgb(150, 66, 221);
/* oklch */ color: oklch(56.6% 0.225 304.9);
Tailwind
colors: {
  custom: {
    50: '#ba7de8',
    500: '#9642dd',
    950: '#000000',
  },
}
SCSS
$custom: #9642dd;
$custom-light: #ba7de8;
$custom-dark: #000000;
JSON
{
  "hex": "#9642dd",
  "rgb": {
    "r": 150,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 272.516,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56578,
    "c": 0.22505,
    "h": 304.9
  },
  "luminance": 0.15601
}

Semantic roles & 50–950 ramp

primary
#9642DD
secondary
#BBDD9D
accent
#EC3B8C
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9642DD

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

Preview Lab → · Contrast checker → · Palette generator →

#9642DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva