#9634D2#9634D2

#9634D2 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.3% C 0.230 H 308.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9634D2
RGBrgb(150, 52, 210)
HSLhsl(277, 64%, 51%)
HSVhsv(277, 75%, 82%)
CMYKcmyk(28.6%, 75.2%, 0%, 17.6%)
CIE-LABlab(43.64, 65.12, -63.15)
CIE-LCHlch(43.64, 90.72, 315.88°)
OKLaboklab(54.35% 0.1438 -0.1793)
OKLCHoklch(54.35% 0.23 308.7)
XYZxyz(25.4361, 13.5936, 62.2441)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9634D2 #70D234
analogous
#4734D2 #9634D2 #D234BF
triadic
#9634D2 #D29634 #34D296
tetradic
#9634D2 #D24734 #70D234 #34BFD2
square
#9634D2 #D24734 #70D234 #34BFD2
split-complementary
#9634D2 #BFD234 #34D247
monochromatic
#501972 #7424A4 #9634D2 #B066DD #CA98E8

Accessibility & contrast

On white

5.65
#9634D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9634D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9634D2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9634D2#FFFFFF#000000##FFFFFF
##9634D21.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#8D5A81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9634d2;
/* rgb */ color: rgb(150, 52, 210);
/* oklch */ color: oklch(54.3% 0.230 308.7);
Tailwind
colors: {
  custom: {
    50: '#ba76e1',
    500: '#9634d2',
    950: '#000000',
  },
}
SCSS
$custom: #9634d2;
$custom-light: #ba76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9634d2",
  "rgb": {
    "r": 150,
    "g": 52,
    "b": 210
  },
  "hsl": {
    "h": 277.215,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54346,
    "c": 0.22983,
    "h": 308.7
  },
  "luminance": 0.13593
}

Semantic roles & 50–950 ramp

primary
#9634D2
secondary
#A9D48E
accent
#E74180
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9634D2

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

Preview Lab → · Contrast checker → · Palette generator →

#9634D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva