#9643DC#9643DC

#9643DC is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.6% C 0.223 H 305.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9643DC
RGBrgb(150, 67, 220)
HSLhsl(273, 69%, 56%)
HSVhsv(273, 70%, 86%)
CMYKcmyk(31.8%, 69.5%, 0%, 13.7%)
CIE-LABlab(46.53, 61.16, -64.20)
CIE-LCHlch(46.53, 88.67, 313.61°)
OKLaboklab(56.62% 0.128 -0.1824)
OKLCHoklch(56.62% 0.223 305.1)
XYZxyz(27.5002, 15.6658, 69.2713)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9643DC #89DC43
analogous
#4A43DC #9643DC #DC43D6
triadic
#9643DC #DC9643 #43DC96
tetradic
#9643DC #DC4A43 #89DC43 #43D6DC
square
#9643DC #DC4A43 #89DC43 #43D6DC
split-complementary
#9643DC #D6DC43 #43DC4A
monochromatic
#571A8B #7723BE #9643DC #B377E6 #D0AAEF

Accessibility & contrast

On white

5.08
#9643DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9643DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9643DC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9643DC#FFFFFF#000000##FFFFFF
##9643DC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9643dc;
/* rgb */ color: rgb(150, 67, 220);
/* oklch */ color: oklch(56.6% 0.223 305.1);
Tailwind
colors: {
  custom: {
    50: '#ba7ee8',
    500: '#9643dc',
    950: '#000000',
  },
}
SCSS
$custom: #9643dc;
$custom-light: #ba7ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#9643dc",
  "rgb": {
    "r": 150,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 272.549,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56617,
    "c": 0.22286,
    "h": 305.1
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#9643DC
secondary
#BBDD9E
accent
#EB3C8C
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9643DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9643DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva