#9651E6#9651E6

#9651E6 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.0% C 0.216 H 301.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9651E6
RGBrgb(150, 81, 230)
HSLhsl(268, 75%, 61%)
HSVhsv(268, 65%, 90%)
CMYKcmyk(34.8%, 64.8%, 0%, 9.8%)
CIE-LABlab(49.60, 56.93, -64.91)
CIE-LCHlch(49.60, 86.34, 311.25°)
OKLaboklab(59.03% 0.1122 -0.1846)
OKLCHoklch(59.03% 0.216 301.3)
XYZxyz(29.7996, 18.0819, 76.7678)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9651E6 #A1E651
analogous
#5156E6 #9651E6 #E051E6
triadic
#9651E6 #E69651 #51E696
tetradic
#9651E6 #E65156 #A1E651 #51E6E0
square
#9651E6 #E65156 #A1E651 #51E6E0
split-complementary
#9651E6 #E6E051 #56E651
monochromatic
#5918A5 #761FDA #9651E6 #B687EE #D7BCF5

Accessibility & contrast

On white

4.55
#9651E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9651E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9651E6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9651E6#FFFFFF#000000##000000
##9651E61.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#0875E3
Tritanopia (blue-blind)
#857295
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9651e6;
/* rgb */ color: rgb(150, 81, 230);
/* oklch */ color: oklch(59.0% 0.216 301.3);
Tailwind
colors: {
  custom: {
    50: '#ba86ef',
    500: '#9651e6',
    950: '#000000',
  },
}
SCSS
$custom: #9651e6;
$custom-light: #ba86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9651e6",
  "rgb": {
    "r": 150,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 267.785,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59029,
    "c": 0.216,
    "h": 301.3
  },
  "luminance": 0.18082
}

Semantic roles & 50–950 ramp

primary
#9651E6
secondary
#CBE5AD
accent
#D70E7A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9651E6

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

Preview Lab → · Contrast checker → · Palette generator →

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