#9647DB#9647DB

#9647DB is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.217 H 304.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9647DB
RGBrgb(150, 71, 219)
HSLhsl(272, 67%, 57%)
HSVhsv(272, 68%, 86%)
CMYKcmyk(31.5%, 67.6%, 0%, 14.1%)
CIE-LABlab(47.11, 59.12, -62.69)
CIE-LCHlch(47.11, 86.17, 313.32°)
OKLaboklab(57.01% 0.1241 -0.178)
OKLCHoklch(57.01% 0.217 304.9)
XYZxyz(27.6142, 16.1051, 68.6579)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9647DB #8CDB47
analogous
#4C47DB #9647DB #DB47D6
triadic
#9647DB #DB9647 #47DB96
tetradic
#9647DB #DB4C47 #8CDB47 #47D6DB
square
#9647DB #DB4C47 #8CDB47 #47D6DB
split-complementary
#9647DB #D6DB47 #47DB4C
monochromatic
#581B8C #7825BF #9647DB #B37AE5 #D0ADEF

Accessibility & contrast

On white

4.98
#9647DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9647DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9647DB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9647DB#FFFFFF#000000##FFFFFF
##9647DB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0F70D8
Tritanopia (blue-blind)
#89688C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9647db;
/* rgb */ color: rgb(150, 71, 219);
/* oklch */ color: oklch(57.0% 0.217 304.9);
Tailwind
colors: {
  custom: {
    50: '#ba80e7',
    500: '#9647db',
    950: '#000000',
  },
}
SCSS
$custom: #9647db;
$custom-light: #ba80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9647db",
  "rgb": {
    "r": 150,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 272.027,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57009,
    "c": 0.21698,
    "h": 304.9
  },
  "luminance": 0.16105
}

Semantic roles & 50–950 ramp

primary
#9647DB
secondary
#BDDDA1
accent
#EA3E8E
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9647DB

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

Preview Lab → · Contrast checker → · Palette generator →

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