#9F4FCB#9F4FCB

#9F4FCB is a mid, vivid violet. Relative luminance 0.173; OKLCH L 58.0% C 0.192 H 311.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9F4FCB
RGBrgb(159, 79, 203)
HSLhsl(279, 54%, 55%)
HSVhsv(279, 61%, 80%)
CMYKcmyk(21.7%, 61.1%, 0%, 20.4%)
CIE-LABlab(48.61, 53.71, -51.07)
CIE-LCHlch(48.61, 74.11, 316.45°)
OKLaboklab(58% 0.1276 -0.1436)
OKLCHoklch(58% 0.192 311.6)
XYZxyz(27.8716, 17.2754, 58.3546)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FCB #7BCB4F
analogous
#614FCB #9F4FCB #CB4FB9
triadic
#9F4FCB #CB9F4F #4FCB9F
tetradic
#9F4FCB #CB614F #7BCB4F #4FB9CB
square
#9F4FCB #CB614F #7BCB4F #4FB9CB
split-complementary
#9F4FCB #B9CB4F #4FCB61
monochromatic
#5C247B #8032AA #9F4FCB #B97ED9 #D3ADE7

Accessibility & contrast

On white

4.71
#9F4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9F4FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4FCB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FCB#FFFFFF#000000##FFFFFF
##9F4FCB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6FCF
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#9A6686
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f4fcb;
/* rgb */ color: rgb(159, 79, 203);
/* oklch */ color: oklch(58.0% 0.192 311.6);
Tailwind
colors: {
  custom: {
    50: '#bf85db',
    500: '#9f4fcb',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fcb;
$custom-light: #bf85db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fcb",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 278.71,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58002,
    "c": 0.19216,
    "h": 311.6
  },
  "luminance": 0.17275
}

Semantic roles & 50–950 ramp

primary
#9F4FCB
secondary
#B3D5A1
accent
#DE4A7E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4FCB

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

Preview Lab → · Contrast checker → · Palette generator →

#9F4FCB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva