#9F74BE#9F74BE

#9F74BE is a light, moderate violet. Relative luminance 0.236; OKLCH L 63.0% C 0.117 H 310.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9F74BE
RGBrgb(159, 116, 190)
HSLhsl(275, 36%, 60%)
HSVhsv(275, 39%, 75%)
CMYKcmyk(16.3%, 38.9%, 0%, 25.5%)
CIE-LABlab(55.66, 30.91, -32.45)
CIE-LCHlch(55.66, 44.82, 313.61°)
OKLaboklab(63.02% 0.0755 -0.0897)
OKLCHoklch(63.02% 0.117 310.1)
XYZxyz(29.8361, 23.5798, 51.6848)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F74BE #93BE74
analogous
#7A74BE #9F74BE #BE74B8
triadic
#9F74BE #BE9F74 #74BE9F
tetradic
#9F74BE #BE7A74 #93BE74 #74B8BE
square
#9F74BE #BE7A74 #93BE74 #74B8BE
split-complementary
#9F74BE #B8BE74 #74BE7A
monochromatic
#613A7D #824EA7 #9F74BE #BC9ED2 #D9C7E5

Accessibility & contrast

On white

3.67
#9F74BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#9F74BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F74BE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F74BE#FFFFFF#000000##000000
##9F74BE1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6583C1
Deuteranopia (green-blind)
#6F86BC
Tritanopia (blue-blind)
#9B7F90
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9f74be;
/* rgb */ color: rgb(159, 116, 190);
/* oklch */ color: oklch(63.0% 0.117 310.1);
Tailwind
colors: {
  custom: {
    50: '#bc9cd2',
    500: '#9f74be',
    950: '#000000',
  },
}
SCSS
$custom: #9f74be;
$custom-light: #bc9cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f74be",
  "rgb": {
    "r": 159,
    "g": 116,
    "b": 190
  },
  "hsl": {
    "h": 274.865,
    "s": 36.275,
    "l": 60
  },
  "oklch": {
    "l": 0.63022,
    "c": 0.11726,
    "h": 310.1
  },
  "luminance": 0.23579
}

Semantic roles & 50–950 ramp

primary
#9F74BE
secondary
#C5D5B9
accent
#CC5C8B
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #9F74BE

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

Preview Lab → · Contrast checker → · Palette generator →

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