#965CD8#965CD8

#965CD8 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.6% C 0.185 H 302.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#965CD8
RGBrgb(150, 92, 216)
HSLhsl(268, 61%, 60%)
HSVhsv(268, 57%, 85%)
CMYKcmyk(30.6%, 57.4%, 0%, 15.3%)
CIE-LABlab(50.80, 47.89, -55.04)
CIE-LCHlch(50.80, 72.96, 311.02°)
OKLaboklab(59.62% 0.1001 -0.1556)
OKLCHoklch(59.62% 0.185 302.7)
XYZxyz(28.7967, 19.0962, 67.1213)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965CD8 #9ED85C
analogous
#5C60D8 #965CD8 #D45CD8
triadic
#965CD8 #D8965C #5CD896
tetradic
#965CD8 #D85C60 #9ED85C #5CD8D4
square
#965CD8 #D85C60 #9ED85C #5CD8D4
split-complementary
#965CD8 #D8D45C #60D85C
monochromatic
#592496 #7730C7 #965CD8 #B68DE4 #D6BFF0

Accessibility & contrast

On white

4.36
#965CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#965CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965CD8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965CD8#FFFFFF#000000##000000
##965CD81.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2578DC
Deuteranopia (green-blind)
#3E79D5
Tritanopia (blue-blind)
#897591
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #965cd8;
/* rgb */ color: rgb(150, 92, 216);
/* oklch */ color: oklch(59.6% 0.185 302.7);
Tailwind
colors: {
  custom: {
    50: '#b98ce5',
    500: '#965cd8',
    950: '#000000',
  },
}
SCSS
$custom: #965cd8;
$custom-light: #b98ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#965cd8",
  "rgb": {
    "r": 150,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 268.065,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59618,
    "c": 0.18503,
    "h": 302.7
  },
  "luminance": 0.19096
}

Semantic roles & 50–950 ramp

primary
#965CD8
secondary
#C9E0B0
accent
#C91C78
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #965CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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