#9865DD#9865DD

#9865DD is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.5% C 0.178 H 300.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9865DD
RGBrgb(152, 101, 221)
HSLhsl(266, 64%, 63%)
HSVhsv(266, 54%, 87%)
CMYKcmyk(31.2%, 54.3%, 0%, 13.3%)
CIE-LABlab(53.17, 44.73, -54.07)
CIE-LCHlch(53.17, 70.17, 309.60°)
OKLaboklab(61.51% 0.0915 -0.1527)
OKLCHoklch(61.51% 0.178 300.9)
XYZxyz(30.6507, 21.2031, 70.8704)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865DD #AADD65
analogous
#656EDD #9865DD #D465DD
triadic
#9865DD #DD9865 #65DD98
tetradic
#9865DD #DD656E #AADD65 #65DDD4
square
#9865DD #DD656E #AADD65 #65DDD4
split-complementary
#9865DD #DDD465 #6EDD65
monochromatic
#5A24A4 #7633D2 #9865DD #BA97E8 #DBC9F3

Accessibility & contrast

On white

4.01
#9865DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9865DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865DD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865DD#FFFFFF#000000##000000
##9865DD1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE1
Deuteranopia (green-blind)
#477EDA
Tritanopia (blue-blind)
#8A7C97
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9865dd;
/* rgb */ color: rgb(152, 101, 221);
/* oklch */ color: oklch(61.5% 0.178 300.9);
Tailwind
colors: {
  custom: {
    50: '#ba92e8',
    500: '#9865dd',
    950: '#000000',
  },
}
SCSS
$custom: #9865dd;
$custom-light: #ba92e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9865dd",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 221
  },
  "hsl": {
    "h": 265.5,
    "s": 63.83,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61505,
    "c": 0.17801,
    "h": 300.9
  },
  "luminance": 0.21203
}

Semantic roles & 50–950 ramp

primary
#9865DD
secondary
#D2E4B9
accent
#CC1A80
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9865DD

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

Preview Lab → · Contrast checker → · Palette generator →

#9865DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva