#9D65C8#9D65C8

#9D65C8 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.8% C 0.154 H 308.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9D65C8
RGBrgb(157, 101, 200)
HSLhsl(274, 47%, 59%)
HSVhsv(274, 50%, 78%)
CMYKcmyk(21.5%, 49.5%, 0%, 21.6%)
CIE-LABlab(52.56, 41.02, -43.07)
CIE-LCHlch(52.56, 59.48, 313.60°)
OKLaboklab(60.8% 0.0962 -0.1204)
OKLCHoklch(60.8% 0.154 308.6)
XYZxyz(28.9816, 20.6460, 57.0907)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D65C8 #90C865
analogous
#6C65C8 #9D65C8 #C865C2
triadic
#9D65C8 #C89D65 #65C89D
tetradic
#9D65C8 #C86C65 #90C865 #65C2C8
square
#9D65C8 #C86C65 #90C865 #65C2C8
split-complementary
#9D65C8 #C2C865 #65C86C
monochromatic
#5F2F84 #7F3FB1 #9D65C8 #BA92D8 #D6BFE8

Accessibility & contrast

On white

4.09
#9D65C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#9D65C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D65C8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D65C8#FFFFFF#000000##000000
##9D65C81.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCB
Deuteranopia (green-blind)
#5B7EC5
Tritanopia (blue-blind)
#97768D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9d65c8;
/* rgb */ color: rgb(157, 101, 200);
/* oklch */ color: oklch(60.8% 0.154 308.6);
Tailwind
colors: {
  custom: {
    50: '#bc92d9',
    500: '#9d65c8',
    950: '#000000',
  },
}
SCSS
$custom: #9d65c8;
$custom-light: #bc92d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d65c8",
  "rgb": {
    "r": 157,
    "g": 101,
    "b": 200
  },
  "hsl": {
    "h": 273.939,
    "s": 47.368,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60802,
    "c": 0.15412,
    "h": 308.6
  },
  "luminance": 0.20646
}

Semantic roles & 50–950 ramp

primary
#9D65C8
secondary
#C2D8B1
accent
#D7518B
background
#FBF9FD
surface
#F7F1FA
border
#D0CBD3
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D65C8

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

Preview Lab → · Contrast checker → · Palette generator →

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