#9647D4#9647D4

#9647D4 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.210 H 306.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9647D4
RGBrgb(150, 71, 212)
HSLhsl(274, 62%, 55%)
HSVhsv(274, 67%, 83%)
CMYKcmyk(29.2%, 66.5%, 0%, 16.9%)
CIE-LABlab(46.64, 57.52, -59.46)
CIE-LCHlch(46.64, 82.73, 314.05°)
OKLaboklab(56.52% 0.1248 -0.1685)
OKLCHoklch(56.52% 0.21 306.5)
XYZxyz(26.7120, 15.7442, 63.9063)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9647D4 #85D447
analogous
#4F47D4 #9647D4 #D447CC
triadic
#9647D4 #D49647 #47D496
tetradic
#9647D4 #D44F47 #85D447 #47CCD4
square
#9647D4 #D44F47 #85D447 #47CCD4
split-complementary
#9647D4 #CCD447 #47D44F
monochromatic
#561E82 #772AB4 #9647D4 #B279E0 #CFAAEB

Accessibility & contrast

On white

5.06
#9647D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9647D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9647D4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9647D4#FFFFFF#000000##FFFFFF
##9647D41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#226FD1
Tritanopia (blue-blind)
#8C6688
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9647d4;
/* rgb */ color: rgb(150, 71, 212);
/* oklch */ color: oklch(56.5% 0.210 306.5);
Tailwind
colors: {
  custom: {
    50: '#b980e2',
    500: '#9647d4',
    950: '#000000',
  },
}
SCSS
$custom: #9647d4;
$custom-light: #b980e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9647d4",
  "rgb": {
    "r": 150,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 273.617,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56518,
    "c": 0.20971,
    "h": 306.5
  },
  "luminance": 0.15744
}

Semantic roles & 50–950 ramp

primary
#9647D4
secondary
#B8D99E
accent
#E5438A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9647D4

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

Preview Lab → · Contrast checker → · Palette generator →

#9647D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva