#965EE7#965EE7

#965EE7 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.9% C 0.200 H 299.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#965EE7
RGBrgb(150, 94, 231)
HSLhsl(265, 74%, 64%)
HSVhsv(265, 59%, 91%)
CMYKcmyk(35.1%, 59.3%, 0%, 9.4%)
CIE-LABlab(52.13, 50.52, -61.39)
CIE-LCHlch(52.13, 79.50, 309.45°)
OKLaboklab(60.89% 0.0975 -0.1742)
OKLCHoklch(60.89% 0.2 299.2)
XYZxyz(31.0006, 20.2586, 77.8629)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965EE7 #AFE75E
analogous
#5E6AE7 #965EE7 #DB5EE7
triadic
#965EE7 #E7965E #5EE796
tetradic
#965EE7 #E75E6A #AFE75E #5EE7DB
square
#965EE7 #E75E6A #AFE75E #5EE7DB
split-complementary
#965EE7 #E7DB5E #6AE75E
monochromatic
#581AB0 #7329DF #965EE7 #B993EF #DBC9F7

Accessibility & contrast

On white

4.16
#965EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#965EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965EE7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965EE7#FFFFFF#000000##000000
##965EE71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#027CEB
Deuteranopia (green-blind)
#2D7BE4
Tritanopia (blue-blind)
#847B9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #965ee7;
/* rgb */ color: rgb(150, 94, 231);
/* oklch */ color: oklch(60.9% 0.200 299.2);
Tailwind
colors: {
  custom: {
    50: '#ba8eef',
    500: '#965ee7',
    950: '#000000',
  },
}
SCSS
$custom: #965ee7;
$custom-light: #ba8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#965ee7",
  "rgb": {
    "r": 150,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 264.526,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60886,
    "c": 0.19967,
    "h": 299.2
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#965EE7
secondary
#D5E9B8
accent
#D60F85
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #965EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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