#965FF2#965FF2

#965FF2 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.8% C 0.211 H 297.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#965FF2
RGBrgb(150, 95, 242)
HSLhsl(262, 85%, 66%)
HSVhsv(262, 61%, 95%)
CMYKcmyk(38%, 60.7%, 0%, 5.1%)
CIE-LABlab(53.04, 52.76, -66.09)
CIE-LCHlch(53.04, 84.56, 308.60°)
OKLaboklab(61.77% 0.0959 -0.1881)
OKLCHoklch(61.77% 0.211 297)
XYZxyz(32.6928, 21.0787, 86.3333)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965FF2 #BBF25F
analogous
#5F71F2 #965FF2 #DF5FF2
triadic
#965FF2 #F2965F #5FF296
tetradic
#965FF2 #F25F71 #BBF25F #5FF2DF
square
#965FF2 #F25F71 #BBF25F #5FF2DF
split-complementary
#965FF2 #F2DF5F #71F25F
monochromatic
#5410C6 #7126ED #965FF2 #BB98F7 #E0D0FB

Accessibility & contrast

On white

4.03
#965FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#965FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965FF2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965FF2#FFFFFF#000000##000000
##965FF21.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#167DEF
Tritanopia (blue-blind)
#807FA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #965ff2;
/* rgb */ color: rgb(150, 95, 242);
/* oklch */ color: oklch(61.8% 0.211 297.0);
Tailwind
colors: {
  custom: {
    50: '#ba8ff7',
    500: '#965ff2',
    950: '#000000',
  },
}
SCSS
$custom: #965ff2;
$custom-light: #ba8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#965ff2",
  "rgb": {
    "r": 150,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 262.449,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61773,
    "c": 0.2111,
    "h": 297
  },
  "luminance": 0.21079
}

Semantic roles & 50–950 ramp

primary
#965FF2
secondary
#DCEFBE
accent
#E1048F
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120D17
muted
#817D85

Preview Lab

Preview with #965FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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