#9645DA#9645DA

#9645DA is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.218 H 305.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9645DA
RGBrgb(150, 69, 218)
HSLhsl(273, 67%, 56%)
HSVhsv(273, 68%, 85%)
CMYKcmyk(31.2%, 68.3%, 0%, 14.5%)
CIE-LABlab(46.71, 59.81, -62.76)
CIE-LCHlch(46.71, 86.70, 313.62°)
OKLaboklab(56.7% 0.1263 -0.1782)
OKLCHoklch(56.7% 0.218 305.3)
XYZxyz(27.3579, 15.8024, 67.9250)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645DA #89DA45
analogous
#4C45DA #9645DA #DA45D4
triadic
#9645DA #DA9645 #45DA96
tetradic
#9645DA #DA4C45 #89DA45 #45D4DA
square
#9645DA #DA4C45 #89DA45 #45D4DA
split-complementary
#9645DA #D4DA45 #45DA4C
monochromatic
#571B89 #7725BC #9645DA #B378E4 #D0ABEE

Accessibility & contrast

On white

5.05
#9645DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9645DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645DA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645DA#FFFFFF#000000##FFFFFF
##9645DA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#0B6FD7
Tritanopia (blue-blind)
#8A678A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9645da;
/* rgb */ color: rgb(150, 69, 218);
/* oklch */ color: oklch(56.7% 0.218 305.3);
Tailwind
colors: {
  custom: {
    50: '#ba7fe6',
    500: '#9645da',
    950: '#000000',
  },
}
SCSS
$custom: #9645da;
$custom-light: #ba7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9645da",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 272.617,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56702,
    "c": 0.2184,
    "h": 305.3
  },
  "luminance": 0.15802
}

Semantic roles & 50–950 ramp

primary
#9645DA
secondary
#BBDC9F
accent
#EA3E8C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9645DA

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

Preview Lab → · Contrast checker → · Palette generator →

#9645DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva