#9A65DA#9A65DA

#9A65DA is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.5% C 0.175 H 302.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9A65DA
RGBrgb(154, 101, 218)
HSLhsl(267, 61%, 63%)
HSVhsv(267, 54%, 85%)
CMYKcmyk(29.4%, 53.7%, 0%, 14.5%)
CIE-LABlab(53.21, 44.49, -52.30)
CIE-LCHlch(53.21, 68.66, 310.39°)
OKLaboklab(61.53% 0.0939 -0.1475)
OKLCHoklch(61.53% 0.175 302.5)
XYZxyz(30.6321, 21.2393, 68.8019)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A65DA #A5DA65
analogous
#656BDA #9A65DA #D465DA
triadic
#9A65DA #DA9A65 #65DA9A
tetradic
#9A65DA #DA656B #A5DA65 #65DAD4
square
#9A65DA #DA656B #A5DA65 #65DAD4
split-complementary
#9A65DA #DAD465 #6BDA65
monochromatic
#5D269F #7A34CE #9A65DA #BA96E6 #DBC8F2

Accessibility & contrast

On white

4.00
#9A65DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9A65DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A65DA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A65DA#FFFFFF#000000##000000
##9A65DA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7EDE
Deuteranopia (green-blind)
#4B7FD7
Tritanopia (blue-blind)
#8E7B96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9a65da;
/* rgb */ color: rgb(154, 101, 218);
/* oklch */ color: oklch(61.5% 0.175 302.5);
Tailwind
colors: {
  custom: {
    50: '#bb92e6',
    500: '#9a65da',
    950: '#000000',
  },
}
SCSS
$custom: #9a65da;
$custom-light: #bb92e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a65da",
  "rgb": {
    "r": 154,
    "g": 101,
    "b": 218
  },
  "hsl": {
    "h": 267.179,
    "s": 61.257,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61527,
    "c": 0.17481,
    "h": 302.5
  },
  "luminance": 0.21239
}

Semantic roles & 50–950 ramp

primary
#9A65DA
secondary
#CFE3B8
accent
#C91D7B
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9A65DA

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

Preview Lab → · Contrast checker → · Palette generator →

#9A65DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva