#9D65CA#9D65CA

#9D65CA is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.9% C 0.157 H 308.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9D65CA
RGBrgb(157, 101, 202)
HSLhsl(273, 49%, 59%)
HSVhsv(273, 50%, 79%)
CMYKcmyk(22.3%, 50%, 0%, 20.8%)
CIE-LABlab(52.66, 41.48, -44.05)
CIE-LCHlch(52.66, 60.50, 313.28°)
OKLaboklab(60.91% 0.0964 -0.1233)
OKLCHoklch(60.91% 0.157 308)
XYZxyz(29.2169, 20.7401, 58.3297)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D65CA #92CA65
analogous
#6B65CA #9D65CA #CA65C5
triadic
#9D65CA #CA9D65 #65CA9D
tetradic
#9D65CA #CA6B65 #92CA65 #65C5CA
square
#9D65CA #CA6B65 #92CA65 #65C5CA
split-complementary
#9D65CA #C5CA65 #65CA6B
monochromatic
#5F2E86 #7F3EB4 #9D65CA #BA93DA #D7C0E9

Accessibility & contrast

On white

4.08
#9D65CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9D65CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D65CA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D65CA#FFFFFF#000000##000000
##9D65CA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#497BCD
Deuteranopia (green-blind)
#5A7EC7
Tritanopia (blue-blind)
#97768E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d65ca;
/* rgb */ color: rgb(157, 101, 202);
/* oklch */ color: oklch(60.9% 0.157 308.0);
Tailwind
colors: {
  custom: {
    50: '#bc92da',
    500: '#9d65ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d65ca;
$custom-light: #bc92da;
$custom-dark: #000000;
JSON
{
  "hex": "#9d65ca",
  "rgb": {
    "r": 157,
    "g": 101,
    "b": 202
  },
  "hsl": {
    "h": 273.267,
    "s": 48.792,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60913,
    "c": 0.1565,
    "h": 308
  },
  "luminance": 0.2074
}

Semantic roles & 50–950 ramp

primary
#9D65CA
secondary
#C3D9B2
accent
#D84F8C
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D65CA

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

Preview Lab → · Contrast checker → · Palette generator →

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