#965AF5#965AF5

#965AF5 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.3% C 0.221 H 297.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#965AF5
RGBrgb(150, 90, 245)
HSLhsl(263, 89%, 66%)
HSVhsv(263, 63%, 96%)
CMYKcmyk(38.8%, 63.3%, 0%, 3.9%)
CIE-LABlab(52.27, 56.11, -68.99)
CIE-LCHlch(52.27, 88.93, 309.12°)
OKLaboklab(61.28% 0.1011 -0.1966)
OKLCHoklch(61.28% 0.221 297.2)
XYZxyz(32.7110, 20.3884, 88.5804)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965AF5 #B9F55A
analogous
#5A6BF5 #965AF5 #E35AF5
triadic
#965AF5 #F5965A #5AF596
tetradic
#965AF5 #F55A6B #B9F55A #5AF5E3
square
#965AF5 #F55A6B #B9F55A #5AF5E3
split-complementary
#965AF5 #F5E35A #6BF55A
monochromatic
#550CC8 #7120F2 #965AF5 #BB94F8 #DFCDFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##965AF5#FFFFFF#000000##000000
##965AF51.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)
#007DFA
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#7F7DA0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #965af5;
/* rgb */ color: rgb(150, 90, 245);
/* oklch */ color: oklch(61.3% 0.221 297.2);
Tailwind
colors: {
  custom: {
    50: '#bb8cf9',
    500: '#965af5',
    950: '#000000',
  },
}
SCSS
$custom: #965af5;
$custom-light: #bb8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#965af5",
  "rgb": {
    "r": 150,
    "g": 90,
    "b": 245
  },
  "hsl": {
    "h": 263.226,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61284,
    "c": 0.22109,
    "h": 297.2
  },
  "luminance": 0.20389
}

Semantic roles & 50–950 ramp

primary
#965AF5
secondary
#DBEFBC
accent
#E5008D
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #965AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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