#9638D0#9638D0

#9638D0 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.6% C 0.224 H 308.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9638D0
RGBrgb(150, 56, 208)
HSLhsl(277, 62%, 52%)
HSVhsv(277, 73%, 82%)
CMYKcmyk(27.9%, 73.1%, 0%, 18.4%)
CIE-LABlab(44.04, 63.15, -61.36)
CIE-LCHlch(44.04, 88.05, 315.83°)
OKLaboklab(54.58% 0.1406 -0.174)
OKLCHoklch(54.58% 0.224 308.9)
XYZxyz(25.3747, 13.8669, 61.0021)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638D0 #72D038
analogous
#4A38D0 #9638D0 #D038BE
triadic
#9638D0 #D09638 #38D096
tetradic
#9638D0 #D04A38 #72D038 #38BED0
square
#9638D0 #D04A38 #72D038 #38BED0
split-complementary
#9638D0 #BED038 #38D04A
monochromatic
#511B73 #7427A4 #9638D0 #B06ADC #CA9BE7

Accessibility & contrast

On white

5.57
#9638D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9638D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9638D0
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638D0#FFFFFF#000000##FFFFFF
##9638D01.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D4
Deuteranopia (green-blind)
#0769CD
Tritanopia (blue-blind)
#8D5C81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9638d0;
/* rgb */ color: rgb(150, 56, 208);
/* oklch */ color: oklch(54.6% 0.224 308.9);
Tailwind
colors: {
  custom: {
    50: '#ba77df',
    500: '#9638d0',
    950: '#000000',
  },
}
SCSS
$custom: #9638d0;
$custom-light: #ba77df;
$custom-dark: #000000;
JSON
{
  "hex": "#9638d0",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 277.105,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54581,
    "c": 0.22369,
    "h": 308.9
  },
  "luminance": 0.13866
}

Semantic roles & 50–950 ramp

primary
#9638D0
secondary
#AAD391
accent
#E54381
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9638D0

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

Preview Lab → · Contrast checker → · Palette generator →

#9638D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva