#9642C7#9642C7

#9642C7 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.0% C 0.203 H 310.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9642C7
RGBrgb(150, 66, 199)
HSLhsl(278, 54%, 52%)
HSVhsv(278, 67%, 78%)
CMYKcmyk(24.6%, 66.8%, 0%, 22%)
CIE-LABlab(44.95, 56.94, -54.69)
CIE-LCHlch(44.95, 78.95, 316.15°)
OKLaboklab(55.03% 0.1315 -0.1545)
OKLCHoklch(55.03% 0.203 310.4)
XYZxyz(24.8327, 14.5045, 55.5132)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9642C7 #73C742
analogous
#5442C7 #9642C7 #C742B6
triadic
#9642C7 #C79642 #42C796
tetradic
#9642C7 #C75442 #73C742 #42B6C7
square
#9642C7 #C75442 #73C742 #42B6C7
split-complementary
#9642C7 #B6C742 #42C754
monochromatic
#51216E #742F9D #9642C7 #B071D5 #CAA0E3

Accessibility & contrast

On white

5.38
#9642C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9642C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9642C7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9642C7#FFFFFF#000000##FFFFFF
##9642C71.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#2F6CC4
Tritanopia (blue-blind)
#8F5E7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9642c7;
/* rgb */ color: rgb(150, 66, 199);
/* oklch */ color: oklch(55.0% 0.203 310.4);
Tailwind
colors: {
  custom: {
    50: '#b97cd9',
    500: '#9642c7',
    950: '#000000',
  },
}
SCSS
$custom: #9642c7;
$custom-light: #b97cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9642c7",
  "rgb": {
    "r": 150,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 277.895,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55033,
    "c": 0.20288,
    "h": 310.4
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#9642C7
secondary
#ABD095
accent
#DE4A80
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #9642C7

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

Preview Lab → · Contrast checker → · Palette generator →

#9642C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva