#9640DD#9640DD

#9640DD is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.4% C 0.227 H 305.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9640DD
RGBrgb(150, 64, 221)
HSLhsl(273, 70%, 56%)
HSVhsv(273, 71%, 87%)
CMYKcmyk(32.1%, 71%, 0%, 13.3%)
CIE-LABlab(46.14, 62.70, -65.41)
CIE-LCHlch(46.14, 90.60, 313.79°)
OKLaboklab(56.36% 0.1308 -0.186)
OKLCHoklch(56.36% 0.227 305.1)
XYZxyz(27.4593, 15.3715, 69.9130)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9640DD #87DD40
analogous
#4740DD #9640DD #DD40D6
triadic
#9640DD #DD9640 #40DD96
tetradic
#9640DD #DD4740 #87DD40 #40D6DD
square
#9640DD #DD4740 #87DD40 #40D6DD
split-complementary
#9640DD #D6DD40 #40DD47
monochromatic
#57198A #7722BE #9640DD #B374E6 #CFA8EF

Accessibility & contrast

On white

5.15
#9640DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9640DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9640DD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9640DD#FFFFFF#000000##FFFFFF
##9640DD1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#89658B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9640dd;
/* rgb */ color: rgb(150, 64, 221);
/* oklch */ color: oklch(56.4% 0.227 305.1);
Tailwind
colors: {
  custom: {
    50: '#ba7ce8',
    500: '#9640dd',
    950: '#000000',
  },
}
SCSS
$custom: #9640dd;
$custom-light: #ba7ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#9640dd",
  "rgb": {
    "r": 150,
    "g": 64,
    "b": 221
  },
  "hsl": {
    "h": 272.866,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56359,
    "c": 0.22737,
    "h": 305.1
  },
  "luminance": 0.15371
}

Semantic roles & 50–950 ramp

primary
#9640DD
secondary
#B9DD9C
accent
#ED3B8B
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9640DD

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

Preview Lab → · Contrast checker → · Palette generator →

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