#965BE3#965BE3

#965BE3 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.2% C 0.199 H 300.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#965BE3
RGBrgb(150, 91, 227)
HSLhsl(266, 71%, 62%)
HSVhsv(266, 60%, 89%)
CMYKcmyk(33.9%, 59.9%, 0%, 11%)
CIE-LABlab(51.28, 51.11, -60.50)
CIE-LCHlch(51.28, 79.20, 310.19°)
OKLaboklab(60.19% 0.1011 -0.1716)
OKLCHoklch(60.19% 0.199 300.5)
XYZxyz(30.1806, 19.5121, 74.8343)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965BE3 #A8E35B
analogous
#5B64E3 #965BE3 #DA5BE3
triadic
#965BE3 #E3965B #5BE396
tetradic
#965BE3 #E35B64 #A8E35B #5BE3DA
square
#965BE3 #E35B64 #A8E35B #5BE3DA
split-complementary
#965BE3 #E3DA5B #64E35B
monochromatic
#591DA7 #7527DA #965BE3 #B78FEC #D9C4F5

Accessibility & contrast

On white

4.28
#965BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#965BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965BE3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965BE3#FFFFFF#000000##000000
##965BE31.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE7
Deuteranopia (green-blind)
#2E79E0
Tritanopia (blue-blind)
#867896
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #965be3;
/* rgb */ color: rgb(150, 91, 227);
/* oklch */ color: oklch(60.2% 0.199 300.5);
Tailwind
colors: {
  custom: {
    50: '#b98ced',
    500: '#965be3',
    950: '#000000',
  },
}
SCSS
$custom: #965be3;
$custom-light: #b98ced;
$custom-dark: #000000;
JSON
{
  "hex": "#965be3",
  "rgb": {
    "r": 150,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 266.029,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60187,
    "c": 0.19922,
    "h": 300.5
  },
  "luminance": 0.19512
}

Semantic roles & 50–950 ramp

primary
#965BE3
secondary
#D0E6B4
accent
#D3137F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #965BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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