#9642F0#9642F0

#9642F0 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 58.0% C 0.244 H 300.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9642F0
RGBrgb(150, 66, 240)
HSLhsl(269, 85%, 60%)
HSVhsv(269, 73%, 94%)
CMYKcmyk(37.5%, 72.5%, 0%, 5.9%)
CIE-LABlab(47.84, 66.19, -73.39)
CIE-LCHlch(47.84, 98.83, 312.05°)
OKLaboklab(58.01% 0.1255 -0.2094)
OKLCHoklch(58.01% 0.244 300.9)
XYZxyz(30.2502, 16.6715, 84.0454)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9642F0 #9CF042
analogous
#4245F0 #9642F0 #ED42F0
triadic
#9642F0 #F09642 #42F096
tetradic
#9642F0 #F04245 #9CF042 #42F0ED
square
#9642F0 #F04245 #9CF042 #42F0ED
split-complementary
#9642F0 #F0ED42 #45F042
monochromatic
#590EAA #7712E3 #9642F0 #B67BF4 #D5B3F9

Accessibility & contrast

On white

4.84
#9642F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9642F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9642F0
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9642F0#FFFFFF#000000##FFFFFF
##9642F01.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F5
Deuteranopia (green-blind)
#0070ED
Tritanopia (blue-blind)
#826E96
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9642f0;
/* rgb */ color: rgb(150, 66, 240);
/* oklch */ color: oklch(58.0% 0.244 300.9);
Tailwind
colors: {
  custom: {
    50: '#bc7ef6',
    500: '#9642f0',
    950: '#000000',
  },
}
SCSS
$custom: #9642f0;
$custom-light: #bc7ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#9642f0",
  "rgb": {
    "r": 150,
    "g": 66,
    "b": 240
  },
  "hsl": {
    "h": 268.966,
    "s": 85.294,
    "l": 60
  },
  "oklch": {
    "l": 0.58005,
    "c": 0.24413,
    "h": 300.9
  },
  "luminance": 0.16672
}

Semantic roles & 50–950 ramp

primary
#9642F0
secondary
#C8E8A5
accent
#FC2C97
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130A17
muted
#827C85

Preview Lab

Preview with #9642F0

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

Preview Lab → · Contrast checker → · Palette generator →

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