#9638DD#9638DD

#9638DD is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.5% C 0.236 H 305.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9638DD
RGBrgb(150, 56, 221)
HSLhsl(274, 71%, 54%)
HSVhsv(274, 75%, 87%)
CMYKcmyk(32.1%, 74.7%, 0%, 13.3%)
CIE-LABlab(44.99, 65.97, -67.28)
CIE-LCHlch(44.99, 94.22, 314.44°)
OKLaboklab(55.55% 0.1382 -0.1914)
OKLCHoklch(55.55% 0.236 305.8)
XYZxyz(27.0401, 14.5331, 69.7732)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638DD #7FDD38
analogous
#4438DD #9638DD #DD38D1
triadic
#9638DD #DD9638 #38DD96
tetradic
#9638DD #DD4438 #7FDD38 #38D1DD
square
#9638DD #DD4438 #7FDD38 #38D1DD
split-complementary
#9638DD #D1DD38 #38DD44
monochromatic
#551784 #771FB8 #9638DD #B26CE6 #CDA1EF

Accessibility & contrast

On white

5.38
#9638DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9638DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9638DD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638DD#FFFFFF#000000##FFFFFF
##9638DD1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#896189
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9638dd;
/* rgb */ color: rgb(150, 56, 221);
/* oklch */ color: oklch(55.5% 0.236 305.8);
Tailwind
colors: {
  custom: {
    50: '#bb78e9',
    500: '#9638dd',
    950: '#000000',
  },
}
SCSS
$custom: #9638dd;
$custom-light: #bb78e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9638dd",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 221
  },
  "hsl": {
    "h": 274.182,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55546,
    "c": 0.23605,
    "h": 305.8
  },
  "luminance": 0.14533
}

Semantic roles & 50–950 ramp

primary
#9638DD
secondary
#B4DB95
accent
#EE3A87
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9638DD

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

Preview Lab → · Contrast checker → · Palette generator →

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