#9651BE#9651BE

#9651BE is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.4% C 0.172 H 311.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9651BE
RGBrgb(150, 81, 190)
HSLhsl(278, 46%, 53%)
HSVhsv(278, 57%, 75%)
CMYKcmyk(21.1%, 57.4%, 0%, 25.5%)
CIE-LABlab(47.09, 47.62, -46.04)
CIE-LCHlch(47.09, 66.24, 315.97°)
OKLaboklab(56.41% 0.1136 -0.1292)
OKLCHoklch(56.41% 0.172 311.3)
XYZxyz(24.8127, 16.0871, 50.5032)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9651BE #79BE51
analogous
#5F51BE #9651BE #BE51AF
triadic
#9651BE #BE9651 #51BE96
tetradic
#9651BE #BE5F51 #79BE51 #51AFBE
square
#9651BE #BE5F51 #79BE51 #51AFBE
split-complementary
#9651BE #AFBE51 #51BE5F
monochromatic
#53286C #763999 #9651BE #B17ECF #CCAADF

Accessibility & contrast

On white

4.98
#9651BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9651BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9651BE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9651BE#FFFFFF#000000##FFFFFF
##9651BE1.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)
#2E6CC2
Deuteranopia (green-blind)
#4871BB
Tritanopia (blue-blind)
#916480
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9651be;
/* rgb */ color: rgb(150, 81, 190);
/* oklch */ color: oklch(56.4% 0.172 311.3);
Tailwind
colors: {
  custom: {
    50: '#b885d2',
    500: '#9651be',
    950: '#000000',
  },
}
SCSS
$custom: #9651be;
$custom-light: #b885d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9651be",
  "rgb": {
    "r": 150,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 277.982,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56408,
    "c": 0.17205,
    "h": 311.3
  },
  "luminance": 0.16087
}

Semantic roles & 50–950 ramp

primary
#9651BE
secondary
#AFCD9E
accent
#D55383
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9651BE

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

Preview Lab → · Contrast checker → · Palette generator →

#9651BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva