#9654DF#9654DF

#9654DF is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.9% C 0.204 H 302.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9654DF
RGBrgb(150, 84, 223)
HSLhsl(268, 68%, 60%)
HSVhsv(268, 62%, 87%)
CMYKcmyk(32.7%, 62.3%, 0%, 12.5%)
CIE-LABlab(49.68, 53.75, -60.82)
CIE-LCHlch(49.68, 81.16, 311.47°)
OKLaboklab(58.94% 0.1094 -0.1725)
OKLCHoklch(58.94% 0.204 302.4)
XYZxyz(29.0642, 18.1523, 71.7703)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9654DF #9DDF54
analogous
#5458DF #9654DF #DB54DF
triadic
#9654DF #DF9654 #54DF96
tetradic
#9654DF #DF5458 #9DDF54 #54DFDB
square
#9654DF #DF5458 #9DDF54 #54DFDB
split-complementary
#9654DF #DFDB54 #58DF54
monochromatic
#591D9C #7727CF #9654DF #B688E9 #D5BBF2

Accessibility & contrast

On white

4.54
#9654DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9654DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9654DF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9654DF#FFFFFF#000000##000000
##9654DF1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#2776DC
Tritanopia (blue-blind)
#877292
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9654df;
/* rgb */ color: rgb(150, 84, 223);
/* oklch */ color: oklch(58.9% 0.204 302.4);
Tailwind
colors: {
  custom: {
    50: '#b988ea',
    500: '#9654df',
    950: '#000000',
  },
}
SCSS
$custom: #9654df;
$custom-light: #b988ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9654df",
  "rgb": {
    "r": 150,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 268.489,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58943,
    "c": 0.20432,
    "h": 302.4
  },
  "luminance": 0.18152
}

Semantic roles & 50–950 ramp

primary
#9654DF
secondary
#C9E2AD
accent
#D01577
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9654DF

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

Preview Lab → · Contrast checker → · Palette generator →

#9654DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva