#9861AF#9861AF

#9861AF is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.3% C 0.130 H 315.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9861AF
RGBrgb(152, 97, 175)
HSLhsl(282, 33%, 53%)
HSVhsv(282, 45%, 69%)
CMYKcmyk(13.1%, 44.6%, 0%, 31.4%)
CIE-LABlab(49.88, 36.21, -32.88)
CIE-LCHlch(49.88, 48.91, 317.76°)
OKLaboklab(58.28% 0.0921 -0.091)
OKLCHoklch(58.28% 0.13 315.4)
XYZxyz(24.9603, 18.3206, 42.7705)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9861AF #78AF61
analogous
#7161AF #9861AF #AF619F
triadic
#9861AF #AF9861 #61AF98
tetradic
#9861AF #AF7161 #78AF61 #619FAF
square
#9861AF #AF7161 #78AF61 #619FAF
split-complementary
#9861AF #9FAF61 #61AF71
monochromatic
#553263 #78478C #9861AF #B28AC4 #CDB2D8

Accessibility & contrast

On white

4.50
#9861AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9861AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9861AF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9861AF#FFFFFF#000000##000000
##9861AF1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5373B2
Deuteranopia (green-blind)
#6178AD
Tritanopia (blue-blind)
#976C80
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9861af;
/* rgb */ color: rgb(152, 97, 175);
/* oklch */ color: oklch(58.3% 0.130 315.4);
Tailwind
colors: {
  custom: {
    50: '#b88fc7',
    500: '#9861af',
    950: '#000000',
  },
}
SCSS
$custom: #9861af;
$custom-light: #b88fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9861af",
  "rgb": {
    "r": 152,
    "g": 97,
    "b": 175
  },
  "hsl": {
    "h": 282.308,
    "s": 32.773,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58276,
    "c": 0.12952,
    "h": 315.4
  },
  "luminance": 0.1832
}

Semantic roles & 50–950 ramp

primary
#9861AF
secondary
#AFC7A5
accent
#C95F7E
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #9861AF

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

Preview Lab → · Contrast checker → · Palette generator →

#9861AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva