#9645D2#9645D2

#9645D2 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.210 H 307.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9645D2
RGBrgb(150, 69, 210)
HSLhsl(274, 61%, 55%)
HSVhsv(274, 67%, 82%)
CMYKcmyk(28.6%, 67.1%, 0%, 17.6%)
CIE-LABlab(46.17, 58.00, -59.07)
CIE-LCHlch(46.17, 82.78, 314.48°)
OKLaboklab(56.14% 0.1272 -0.1673)
OKLCHoklch(56.14% 0.21 307.2)
XYZxyz(26.3362, 15.3937, 62.5442)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645D2 #81D245
analogous
#5045D2 #9645D2 #D245C8
triadic
#9645D2 #D29645 #45D296
tetradic
#9645D2 #D25045 #81D245 #45C8D2
square
#9645D2 #D25045 #81D245 #45C8D2
split-complementary
#9645D2 #C8D245 #45D250
monochromatic
#551F7E #772AAF #9645D2 #B276DE #CEA8EA

Accessibility & contrast

On white

5.15
#9645D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9645D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645D2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645D2#FFFFFF#000000##FFFFFF
##9645D21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#226ECF
Tritanopia (blue-blind)
#8C6486
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9645d2;
/* rgb */ color: rgb(150, 69, 210);
/* oklch */ color: oklch(56.1% 0.210 307.2);
Tailwind
colors: {
  custom: {
    50: '#b97ee1',
    500: '#9645d2',
    950: '#000000',
  },
}
SCSS
$custom: #9645d2;
$custom-light: #b97ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#9645d2",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 274.468,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56139,
    "c": 0.2102,
    "h": 307.2
  },
  "luminance": 0.15393
}

Semantic roles & 50–950 ramp

primary
#9645D2
secondary
#B5D79C
accent
#E44488
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9645D2

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

Preview Lab → · Contrast checker → · Palette generator →

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