#965DF2#965DF2

#965DF2 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.5% C 0.214 H 297.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#965DF2
RGBrgb(150, 93, 242)
HSLhsl(263, 85%, 66%)
HSVhsv(263, 62%, 95%)
CMYKcmyk(38%, 61.6%, 0%, 5.1%)
CIE-LABlab(52.65, 53.81, -66.72)
CIE-LCHlch(52.65, 85.71, 308.89°)
OKLaboklab(61.49% 0.0981 -0.1899)
OKLCHoklch(61.49% 0.214 297.3)
XYZxyz(32.5149, 20.7230, 86.2741)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965DF2 #B9F25D
analogous
#5D6EF2 #965DF2 #E05DF2
triadic
#965DF2 #F2965D #5DF296
tetradic
#965DF2 #F25D6E #B9F25D #5DF2E0
square
#965DF2 #F25D6E #B9F25D #5DF2E0
split-complementary
#965DF2 #F2E05D #6EF25D
monochromatic
#5510C5 #7124ED #965DF2 #BB96F7 #DFCEFB

Accessibility & contrast

On white

4.08
#965DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#965DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965DF2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965DF2#FFFFFF#000000##000000
##965DF21.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#0C7CEF
Tritanopia (blue-blind)
#807E9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #965df2;
/* rgb */ color: rgb(150, 93, 242);
/* oklch */ color: oklch(61.5% 0.214 297.3);
Tailwind
colors: {
  custom: {
    50: '#ba8ef7',
    500: '#965df2',
    950: '#000000',
  },
}
SCSS
$custom: #965df2;
$custom-light: #ba8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#965df2",
  "rgb": {
    "r": 150,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 262.953,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61489,
    "c": 0.21376,
    "h": 297.3
  },
  "luminance": 0.20724
}

Semantic roles & 50–950 ramp

primary
#965DF2
secondary
#DBEEBD
accent
#E2048D
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #965DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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