#965AF2#965AF2

#965AF2 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.1% C 0.218 H 297.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#965AF2
RGBrgb(150, 90, 242)
HSLhsl(264, 85%, 65%)
HSVhsv(264, 63%, 95%)
CMYKcmyk(38%, 62.8%, 0%, 5.1%)
CIE-LABlab(52.07, 55.36, -67.65)
CIE-LCHlch(52.07, 87.41, 309.29°)
OKLaboklab(61.07% 0.1014 -0.1926)
OKLCHoklch(61.07% 0.218 297.8)
XYZxyz(32.2568, 20.2067, 86.1880)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965AF2 #B6F25A
analogous
#5A6AF2 #965AF2 #E25AF2
triadic
#965AF2 #F2965A #5AF296
tetradic
#965AF2 #F25A6A #B6F25A #5AF2E2
square
#965AF2 #F25A6A #B6F25A #5AF2E2
split-complementary
#965AF2 #F2E25A #6AF25A
monochromatic
#560FC2 #7221EE #965AF2 #BA93F6 #DECBFB

Accessibility & contrast

On white

4.17
#965AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#965AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965AF2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965AF2#FFFFFF#000000##000000
##965AF21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#807C9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #965af2;
/* rgb */ color: rgb(150, 90, 242);
/* oklch */ color: oklch(61.1% 0.218 297.8);
Tailwind
colors: {
  custom: {
    50: '#bb8cf7',
    500: '#965af2',
    950: '#000000',
  },
}
SCSS
$custom: #965af2;
$custom-light: #bb8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#965af2",
  "rgb": {
    "r": 150,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 263.684,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61072,
    "c": 0.2177,
    "h": 297.8
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#965AF2
secondary
#D9EEBA
accent
#E2048A
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #965AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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