#9638D3#9638D3

#9638D3 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.8% C 0.227 H 308.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9638D3
RGBrgb(150, 56, 211)
HSLhsl(276, 64%, 52%)
HSVhsv(276, 73%, 83%)
CMYKcmyk(28.9%, 73.5%, 0%, 17.3%)
CIE-LABlab(44.26, 63.80, -62.74)
CIE-LCHlch(44.26, 89.48, 315.48°)
OKLaboklab(54.8% 0.1401 -0.1781)
OKLCHoklch(54.8% 0.227 308.2)
XYZxyz(25.7473, 14.0159, 62.9644)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638D3 #75D338
analogous
#4838D3 #9638D3 #D338C3
triadic
#9638D3 #D39638 #38D396
tetradic
#9638D3 #D34838 #75D338 #38C3D3
square
#9638D3 #D34838 #75D338 #38C3D3
split-complementary
#9638D3 #C3D338 #38D348
monochromatic
#521A76 #7525A9 #9638D3 #B06ADE #CB9CE9

Accessibility & contrast

On white

5.52
#9638D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9638D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9638D3
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638D3#FFFFFF#000000##FFFFFF
##9638D31.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#8C5D83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9638d3;
/* rgb */ color: rgb(150, 56, 211);
/* oklch */ color: oklch(54.8% 0.227 308.2);
Tailwind
colors: {
  custom: {
    50: '#ba78e1',
    500: '#9638d3',
    950: '#000000',
  },
}
SCSS
$custom: #9638d3;
$custom-light: #ba78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9638d3",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 276.387,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.548,
    "c": 0.22655,
    "h": 308.2
  },
  "luminance": 0.14016
}

Semantic roles & 50–950 ramp

primary
#9638D3
secondary
#ACD592
accent
#E74182
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9638D3

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

Preview Lab → · Contrast checker → · Palette generator →

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