#965FE6#965FE6

#965FE6 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 61.0% C 0.197 H 299.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#965FE6
RGBrgb(150, 95, 230)
HSLhsl(264, 73%, 64%)
HSVhsv(264, 59%, 90%)
CMYKcmyk(34.8%, 58.7%, 0%, 9.8%)
CIE-LABlab(52.27, 49.74, -60.60)
CIE-LCHlch(52.27, 78.40, 309.38°)
OKLaboklab(60.97% 0.0964 -0.1719)
OKLCHoklch(60.97% 0.197 299.3)
XYZxyz(30.9493, 20.3813, 77.1510)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965FE6 #AFE65F
analogous
#5F6BE6 #965FE6 #D95FE6
triadic
#965FE6 #E6965F #5FE696
tetradic
#965FE6 #E65F6B #AFE65F #5FE6D9
square
#965FE6 #E65F6B #AFE65F #5FE6D9
split-complementary
#965FE6 #E6D95F #6BE65F
monochromatic
#581BAF #732ADE #965FE6 #B994EE #DBC9F7

Accessibility & contrast

On white

4.14
#965FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#965FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965FE6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965FE6#FFFFFF#000000##000000
##965FE61.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7DEA
Deuteranopia (green-blind)
#307CE3
Tritanopia (blue-blind)
#857B9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #965fe6;
/* rgb */ color: rgb(150, 95, 230);
/* oklch */ color: oklch(61.0% 0.197 299.3);
Tailwind
colors: {
  custom: {
    50: '#b98fef',
    500: '#965fe6',
    950: '#000000',
  },
}
SCSS
$custom: #965fe6;
$custom-light: #b98fef;
$custom-dark: #000000;
JSON
{
  "hex": "#965fe6",
  "rgb": {
    "r": 150,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 264.444,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60966,
    "c": 0.1971,
    "h": 299.3
  },
  "luminance": 0.20382
}

Semantic roles & 50–950 ramp

primary
#965FE6
secondary
#D5E8B9
accent
#D51085
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #965FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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