#9F74CD#9F74CD

#9F74CD is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.8% C 0.136 H 305.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9F74CD
RGBrgb(159, 116, 205)
HSLhsl(269, 47%, 63%)
HSVhsv(269, 43%, 80%)
CMYKcmyk(22.4%, 43.4%, 0%, 19.6%)
CIE-LABlab(56.36, 34.35, -39.91)
CIE-LCHlch(56.36, 52.66, 310.72°)
OKLaboklab(63.77% 0.0783 -0.1113)
OKLCHoklch(63.77% 0.136 305.1)
XYZxyz(31.5606, 24.2697, 60.7676)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F74CD #A2CD74
analogous
#7475CD #9F74CD #CC74CD
triadic
#9F74CD #CD9F74 #74CD9F
tetradic
#9F74CD #CD7475 #A2CD74 #74CDCC
square
#9F74CD #CD7475 #A2CD74 #74CDCC
split-complementary
#9F74CD #CDCC74 #75CD74
monochromatic
#623592 #8047BD #9F74CD #BEA1DD #DDCEED

Accessibility & contrast

On white

3.59
#9F74CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#9F74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F74CD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F74CD#FFFFFF#000000##000000
##9F74CD1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E86D0
Deuteranopia (green-blind)
#6887CB
Tritanopia (blue-blind)
#988397
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9f74cd;
/* rgb */ color: rgb(159, 116, 205);
/* oklch */ color: oklch(63.8% 0.136 305.1);
Tailwind
colors: {
  custom: {
    50: '#bd9ddc',
    500: '#9f74cd',
    950: '#000000',
  },
}
SCSS
$custom: #9f74cd;
$custom-light: #bd9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f74cd",
  "rgb": {
    "r": 159,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 268.989,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6377,
    "c": 0.13607,
    "h": 305.1
  },
  "luminance": 0.24269
}

Semantic roles & 50–950 ramp

primary
#9F74CD
secondary
#CFDEBE
accent
#BA2B75
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9F74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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