#9640E3#9640E3

#9640E3 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.8% C 0.233 H 303.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9640E3
RGBrgb(150, 64, 227)
HSLhsl(272, 74%, 57%)
HSVhsv(272, 72%, 89%)
CMYKcmyk(33.9%, 71.8%, 0%, 11%)
CIE-LABlab(46.57, 64.05, -68.11)
CIE-LCHlch(46.57, 93.50, 313.24°)
OKLaboklab(56.81% 0.1298 -0.1939)
OKLCHoklch(56.81% 0.233 303.8)
XYZxyz(28.2730, 15.6969, 74.1985)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9640E3 #8DE340
analogous
#4440E3 #9640E3 #E340DF
triadic
#9640E3 #E39640 #40E396
tetradic
#9640E3 #E34440 #8DE340 #40DFE3
square
#9640E3 #E34440 #8DE340 #40DFE3
split-complementary
#9640E3 #DFE340 #40E344
monochromatic
#581693 #781DC8 #9640E3 #B375EB #D1ABF3

Accessibility & contrast

On white

5.07
#9640E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9640E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9640E3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9640E3#FFFFFF#000000##FFFFFF
##9640E31.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#87688E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9640e3;
/* rgb */ color: rgb(150, 64, 227);
/* oklch */ color: oklch(56.8% 0.233 303.8);
Tailwind
colors: {
  custom: {
    50: '#bb7ced',
    500: '#9640e3',
    950: '#000000',
  },
}
SCSS
$custom: #9640e3;
$custom-light: #bb7ced;
$custom-dark: #000000;
JSON
{
  "hex": "#9640e3",
  "rgb": {
    "r": 150,
    "g": 64,
    "b": 227
  },
  "hsl": {
    "h": 271.656,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56805,
    "c": 0.23333,
    "h": 303.8
  },
  "luminance": 0.15697
}

Semantic roles & 50–950 ramp

primary
#9640E3
secondary
#BEE19E
accent
#F1378F
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9640E3

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

Preview Lab → · Contrast checker → · Palette generator →

#9640E3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva