#9064DC#9064DC

#9064DC is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.5% C 0.177 H 297.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9064DC
RGBrgb(144, 100, 220)
HSLhsl(262, 63%, 63%)
HSVhsv(262, 55%, 86%)
CMYKcmyk(34.5%, 54.5%, 0%, 13.7%)
CIE-LABlab(52.07, 43.08, -55.30)
CIE-LCHlch(52.07, 70.10, 307.92°)
OKLaboklab(60.49% 0.0826 -0.1566)
OKLCHoklch(60.49% 0.177 297.8)
XYZxyz(28.9738, 20.2106, 70.0708)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9064DC #B0DC64
analogous
#6474DC #9064DC #CC64DC
triadic
#9064DC #DC9064 #64DC90
tetradic
#9064DC #DC6474 #B0DC64 #64DCCC
square
#9064DC #DC6474 #B0DC64 #64DCCC
split-complementary
#9064DC #DCCC64 #74DC64
monochromatic
#5224A1 #6C32D1 #9064DC #B496E7 #D8C8F3

Accessibility & contrast

On white

4.16
#9064DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#9064DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9064DC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9064DC#FFFFFF#000000##000000
##9064DC1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CE0
Deuteranopia (green-blind)
#3F7BD9
Tritanopia (blue-blind)
#7F7C96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9064dc;
/* rgb */ color: rgb(144, 100, 220);
/* oklch */ color: oklch(60.5% 0.177 297.8);
Tailwind
colors: {
  custom: {
    50: '#b491e7',
    500: '#9064dc',
    950: '#000000',
  },
}
SCSS
$custom: #9064dc;
$custom-light: #b491e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9064dc",
  "rgb": {
    "r": 144,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 262,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60487,
    "c": 0.17701,
    "h": 297.8
  },
  "luminance": 0.20211
}

Semantic roles & 50–950 ramp

primary
#9064DC
secondary
#D4E4B8
accent
#CB1B8A
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #9064DC

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

Preview Lab → · Contrast checker → · Palette generator →

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