#9A65C8#9A65C8

#9A65C8 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.5% C 0.153 H 307.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9A65C8
RGBrgb(154, 101, 200)
HSLhsl(272, 47%, 59%)
HSVhsv(272, 50%, 78%)
CMYKcmyk(23%, 49.5%, 0%, 21.6%)
CIE-LABlab(52.23, 40.20, -43.61)
CIE-LCHlch(52.23, 59.31, 312.66°)
OKLaboklab(60.48% 0.0924 -0.1221)
OKLCHoklch(60.48% 0.153 307.1)
XYZxyz(28.4033, 20.3478, 57.0636)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A65C8 #93C865
analogous
#6965C8 #9A65C8 #C865C5
triadic
#9A65C8 #C89A65 #65C89A
tetradic
#9A65C8 #C86965 #93C865 #65C5C8
square
#9A65C8 #C86965 #93C865 #65C5C8
split-complementary
#9A65C8 #C5C865 #65C869
monochromatic
#5C2F84 #7C3FB1 #9A65C8 #B892D8 #D5BFE8

Accessibility & contrast

On white

4.14
#9A65C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#9A65C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A65C8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A65C8#FFFFFF#000000##000000
##9A65C81.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7BCB
Deuteranopia (green-blind)
#597DC5
Tritanopia (blue-blind)
#93768D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9a65c8;
/* rgb */ color: rgb(154, 101, 200);
/* oklch */ color: oklch(60.5% 0.153 307.1);
Tailwind
colors: {
  custom: {
    50: '#ba92d9',
    500: '#9a65c8',
    950: '#000000',
  },
}
SCSS
$custom: #9a65c8;
$custom-light: #ba92d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a65c8",
  "rgb": {
    "r": 154,
    "g": 101,
    "b": 200
  },
  "hsl": {
    "h": 272.121,
    "s": 47.368,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60481,
    "c": 0.15315,
    "h": 307.1
  },
  "luminance": 0.20348
}

Semantic roles & 50–950 ramp

primary
#9A65C8
secondary
#C3D8B1
accent
#D7518F
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#120D15
muted
#817E83

Preview Lab

Preview with #9A65C8

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

Preview Lab → · Contrast checker → · Palette generator →

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