#9638CE#9638CE

#9638CE is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.4% C 0.222 H 309.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9638CE
RGBrgb(150, 56, 206)
HSLhsl(278, 60%, 51%)
HSVhsv(278, 73%, 81%)
CMYKcmyk(27.2%, 72.8%, 0%, 19.2%)
CIE-LABlab(43.90, 62.72, -60.43)
CIE-LCHlch(43.90, 87.10, 316.07°)
OKLaboklab(54.44% 0.1409 -0.1713)
OKLCHoklch(54.44% 0.222 309.4)
XYZxyz(25.1302, 13.7691, 59.7144)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638CE #70CE38
analogous
#4B38CE #9638CE #CE38BB
triadic
#9638CE #CE9638 #38CE96
tetradic
#9638CE #CE4B38 #70CE38 #38BBCE
square
#9638CE #CE4B38 #70CE38 #38BBCE
split-complementary
#9638CE #BBCE38 #38CE4B
monochromatic
#501C70 #7428A1 #9638CE #B069DA #CA9AE6

Accessibility & contrast

On white

5.59
#9638CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9638CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9638CE
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638CE#FFFFFF#000000##FFFFFF
##9638CE1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#1069CB
Tritanopia (blue-blind)
#8E5B80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9638ce;
/* rgb */ color: rgb(150, 56, 206);
/* oklch */ color: oklch(54.4% 0.222 309.4);
Tailwind
colors: {
  custom: {
    50: '#ba77de',
    500: '#9638ce',
    950: '#000000',
  },
}
SCSS
$custom: #9638ce;
$custom-light: #ba77de;
$custom-dark: #000000;
JSON
{
  "hex": "#9638ce",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 277.6,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54436,
    "c": 0.2218,
    "h": 309.4
  },
  "luminance": 0.13769
}

Semantic roles & 50–950 ramp

primary
#9638CE
secondary
#A9D290
accent
#E44480
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9638CE

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

Preview Lab → · Contrast checker → · Palette generator →

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