#9064C8#9064C8

#9064C8 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.3% C 0.152 H 302.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9064C8
RGBrgb(144, 100, 200)
HSLhsl(266, 48%, 59%)
HSVhsv(266, 50%, 78%)
CMYKcmyk(28%, 50%, 0%, 21.6%)
CIE-LABlab(50.94, 38.05, -45.73)
CIE-LCHlch(50.94, 59.49, 309.76°)
OKLaboklab(59.28% 0.0813 -0.1285)
OKLCHoklch(59.28% 0.152 302.3)
XYZxyz(26.4818, 19.2137, 56.9459)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9064C8 #9CC864
analogous
#646AC8 #9064C8 #C264C8
triadic
#9064C8 #C89064 #64C890
tetradic
#9064C8 #C8646A #9CC864 #64C8C2
square
#9064C8 #C8646A #9CC864 #64C8C2
split-complementary
#9064C8 #C8C264 #6AC864
monochromatic
#542F83 #713FB0 #9064C8 #B091D8 #D1BEE8

Accessibility & contrast

On white

4.34
#9064C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#9064C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9064C8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9064C8#FFFFFF#000000##000000
##9064C81.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4478CB
Deuteranopia (green-blind)
#5079C6
Tritanopia (blue-blind)
#86768D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9064c8;
/* rgb */ color: rgb(144, 100, 200);
/* oklch */ color: oklch(59.3% 0.152 302.3);
Tailwind
colors: {
  custom: {
    50: '#b391d9',
    500: '#9064c8',
    950: '#000000',
  },
}
SCSS
$custom: #9064c8;
$custom-light: #b391d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9064c8",
  "rgb": {
    "r": 144,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 266.4,
    "s": 47.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59276,
    "c": 0.15209,
    "h": 302.3
  },
  "luminance": 0.19214
}

Semantic roles & 50–950 ramp

primary
#9064C8
secondary
#C6D8B0
accent
#D7519C
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#110D15
muted
#807E83

Preview Lab

Preview with #9064C8

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

Preview Lab → · Contrast checker → · Palette generator →

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