#965FA2#965FA2

#965FA2 is a mid, moderate purple. Relative luminance 0.173; OKLCH L 57.1% C 0.117 H 320.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#965FA2
RGBrgb(150, 95, 162)
HSLhsl(289, 26%, 50%)
HSVhsv(289, 41%, 64%)
CMYKcmyk(7.4%, 41.4%, 0%, 36.5%)
CIE-LABlab(48.61, 33.95, -27.27)
CIE-LCHlch(48.61, 43.55, 321.23°)
OKLaboklab(57.07% 0.0901 -0.0749)
OKLCHoklch(57.07% 0.117 320.3)
XYZxyz(23.1907, 17.2779, 36.2888)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965FA2 #6BA25F
analogous
#745FA2 #965FA2 #A25F8C
triadic
#965FA2 #A2965F #5FA296
tetradic
#965FA2 #A2745F #6BA25F #5F8CA2
square
#965FA2 #A2745F #6BA25F #5F8CA2
split-complementary
#965FA2 #8CA25F #5FA274
monochromatic
#4F3155 #73487C #965FA2 #AF86B8 #C9ACCF

Accessibility & contrast

On white

4.71
#965FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#965FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #965FA2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965FA2#FFFFFF#000000##FFFFFF
##965FA21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5670A4
Deuteranopia (green-blind)
#6475A0
Tritanopia (blue-blind)
#976779
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #965fa2;
/* rgb */ color: rgb(150, 95, 162);
/* oklch */ color: oklch(57.1% 0.117 320.3);
Tailwind
colors: {
  custom: {
    50: '#b68ebd',
    500: '#965fa2',
    950: '#000000',
  },
}
SCSS
$custom: #965fa2;
$custom-light: #b68ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#965fa2",
  "rgb": {
    "r": 150,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 289.254,
    "s": 26.482,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57074,
    "c": 0.11723,
    "h": 320.3
  },
  "luminance": 0.17277
}

Semantic roles & 50–950 ramp

primary
#965FA2
secondary
#A5BD9F
accent
#C36576
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #965FA2

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

Preview Lab → · Contrast checker → · Palette generator →

#965FA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva