#9F2FD8#9F2FD8

#9F2FD8 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.5% C 0.243 H 310.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9F2FD8
RGBrgb(159, 47, 216)
HSLhsl(280, 68%, 52%)
HSVhsv(280, 78%, 85%)
CMYKcmyk(26.4%, 78.2%, 0%, 15.3%)
CIE-LABlab(44.75, 69.68, -64.75)
CIE-LCHlch(44.75, 95.12, 317.10°)
OKLaboklab(55.52% 0.1585 -0.1836)
OKLCHoklch(55.52% 0.243 310.8)
XYZxyz(27.7069, 14.3625, 66.2651)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FD8 #68D82F
analogous
#4B2FD8 #9F2FD8 #D82FBD
triadic
#9F2FD8 #D89F2F #2FD89F
tetradic
#9F2FD8 #D84B2F #68D82F #2FBDD8
square
#9F2FD8 #D84B2F #68D82F #2FBDD8
split-complementary
#9F2FD8 #BDD82F #2FD84B
monochromatic
#561676 #7B20AA #9F2FD8 #B763E2 #CF96EB

Accessibility & contrast

On white

5.42
#9F2FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9F2FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FD8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FD8#FFFFFF#000000##FFFFFF
##9F2FD81.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#006CD5
Tritanopia (blue-blind)
#975984
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f2fd8;
/* rgb */ color: rgb(159, 47, 216);
/* oklch */ color: oklch(55.5% 0.243 310.8);
Tailwind
colors: {
  custom: {
    50: '#c175e5',
    500: '#9f2fd8',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fd8;
$custom-light: #c175e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fd8",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 216
  },
  "hsl": {
    "h": 279.763,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55521,
    "c": 0.24254,
    "h": 310.8
  },
  "luminance": 0.14362
}

Semantic roles & 50–950 ramp

primary
#9F2FD8
secondary
#A5D78C
accent
#EB3D77
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9F2FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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