#9638C8#9638C8

#9638C8 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.0% C 0.216 H 311.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9638C8
RGBrgb(150, 56, 200)
HSLhsl(279, 57%, 50%)
HSVhsv(279, 72%, 78%)
CMYKcmyk(25%, 72%, 0%, 21.6%)
CIE-LABlab(43.48, 61.45, -57.64)
CIE-LCHlch(43.48, 84.25, 316.84°)
OKLaboklab(54.01% 0.1418 -0.1631)
OKLCHoklch(54.01% 0.216 311)
XYZxyz(24.4152, 13.4831, 55.9487)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638C8 #6AC838
analogous
#4E38C8 #9638C8 #C838B2
triadic
#9638C8 #C89638 #38C896
tetradic
#9638C8 #C84E38 #6AC838 #38B2C8
square
#9638C8 #C84E38 #6AC838 #38B2C8
split-complementary
#9638C8 #B2C838 #38C84E
monochromatic
#4E1D69 #722A99 #9638C8 #AF68D5 #C998E3

Accessibility & contrast

On white

5.68
#9638C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9638C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9638C8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638C8#FFFFFF#000000##FFFFFF
##9638C81.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#2068C5
Tritanopia (blue-blind)
#8F587D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9638c8;
/* rgb */ color: rgb(150, 56, 200);
/* oklch */ color: oklch(54.0% 0.216 311.0);
Tailwind
colors: {
  custom: {
    50: '#b977d9',
    500: '#9638c8',
    950: '#000000',
  },
}
SCSS
$custom: #9638c8;
$custom-light: #b977d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9638c8",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 279.167,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54008,
    "c": 0.21611,
    "h": 311
  },
  "luminance": 0.13483
}

Semantic roles & 50–950 ramp

primary
#9638C8
secondary
#A4CE8E
accent
#E0487D
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9638C8

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

Preview Lab → · Contrast checker → · Palette generator →

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