#9D65B2#9D65B2

#9D65B2 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 59.7% C 0.128 H 316.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9D65B2
RGBrgb(157, 101, 178)
HSLhsl(284, 33%, 55%)
HSVhsv(284, 43%, 70%)
CMYKcmyk(11.8%, 43.3%, 0%, 30.2%)
CIE-LABlab(51.49, 36.14, -32.08)
CIE-LCHlch(51.49, 48.32, 318.41°)
OKLaboklab(59.65% 0.0929 -0.0886)
OKLCHoklch(59.65% 0.128 316.3)
XYZxyz(26.5930, 19.6905, 44.5106)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D65B2 #7AB265
analogous
#7765B2 #9D65B2 #B265A1
triadic
#9D65B2 #B29D65 #65B29D
tetradic
#9D65B2 #B27765 #7AB265 #65A1B2
square
#9D65B2 #B27765 #7AB265 #65A1B2
split-complementary
#9D65B2 #A1B265 #65B277
monochromatic
#5A3468 #7D4991 #9D65B2 #B78EC6 #D1B7DB

Accessibility & contrast

On white

4.25
#9D65B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9D65B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D65B2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D65B2#FFFFFF#000000##000000
##9D65B21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5877B5
Deuteranopia (green-blind)
#677CB0
Tritanopia (blue-blind)
#9C6F83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d65b2;
/* rgb */ color: rgb(157, 101, 178);
/* oklch */ color: oklch(59.7% 0.128 316.3);
Tailwind
colors: {
  custom: {
    50: '#bb92c9',
    500: '#9d65b2',
    950: '#000000',
  },
}
SCSS
$custom: #9d65b2;
$custom-light: #bb92c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d65b2",
  "rgb": {
    "r": 157,
    "g": 101,
    "b": 178
  },
  "hsl": {
    "h": 283.636,
    "s": 33.333,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5965,
    "c": 0.12839,
    "h": 316.3
  },
  "luminance": 0.1969
}

Semantic roles & 50–950 ramp

primary
#9D65B2
secondary
#B2CAA9
accent
#C95E7C
background
#FBF9FC
surface
#F6F1F8
border
#D0CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #9D65B2

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

Preview Lab → · Contrast checker → · Palette generator →

#9D65B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva