#965AEF#965AEF

#965AEF is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.9% C 0.214 H 298.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#965AEF
RGBrgb(150, 90, 239)
HSLhsl(264, 82%, 65%)
HSVhsv(264, 62%, 94%)
CMYKcmyk(37.2%, 62.3%, 0%, 6.3%)
CIE-LABlab(51.87, 54.61, -66.29)
CIE-LCHlch(51.87, 85.89, 309.48°)
OKLaboklab(60.86% 0.1016 -0.1887)
OKLCHoklch(60.86% 0.214 298.3)
XYZxyz(31.8099, 20.0279, 83.8345)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965AEF #B3EF5A
analogous
#5A69EF #965AEF #E05AEF
triadic
#965AEF #EF965A #5AEF96
tetradic
#965AEF #EF5A69 #B3EF5A #5AEFE0
square
#965AEF #EF5A69 #B3EF5A #5AEFE0
split-complementary
#965AEF #EFE05A #69EF5A
monochromatic
#5712BC #7222EA #965AEF #BA92F4 #DDCAFA

Accessibility & contrast

On white

4.20
#965AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#965AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965AEF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965AEF#FFFFFF#000000##000000
##965AEF1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0B7AEC
Tritanopia (blue-blind)
#817B9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #965aef;
/* rgb */ color: rgb(150, 90, 239);
/* oklch */ color: oklch(60.9% 0.214 298.3);
Tailwind
colors: {
  custom: {
    50: '#ba8cf5',
    500: '#965aef',
    950: '#000000',
  },
}
SCSS
$custom: #965aef;
$custom-light: #ba8cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#965aef",
  "rgb": {
    "r": 150,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 264.161,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60863,
    "c": 0.2143,
    "h": 298.3
  },
  "luminance": 0.20028
}

Semantic roles & 50–950 ramp

primary
#965AEF
secondary
#D7ECB9
accent
#DF0788
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #965AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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