#9F3EFE#9F3EFE

#9F3EFE is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.7% C 0.263 H 301.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9F3EFE
RGBrgb(159, 62, 254)
HSLhsl(270, 99%, 62%)
HSVhsv(270, 76%, 100%)
CMYKcmyk(37.4%, 75.6%, 0%, 0.4%)
CIE-LABlab(49.46, 72.44, -78.53)
CIE-LCHlch(49.46, 106.84, 312.69°)
OKLaboklab(59.72% 0.1379 -0.2242)
OKLCHoklch(59.72% 0.263 301.6)
XYZxyz(33.9057, 17.9718, 95.4293)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3EFE #9DFE3E
analogous
#3F3EFE #9F3EFE #FE3EFD
triadic
#9F3EFE #FE9F3E #3EFE9F
tetradic
#9F3EFE #FE3F3E #9DFE3E #3EFDFE
square
#9F3EFE #FE3F3E #9DFE3E #3EFDFE
split-complementary
#9F3EFE #FDFE3E #3EFE3F
monochromatic
#6201C1 #8101FD #9F3EFE #BD7BFE #DCB8FF

Accessibility & contrast

On white

4.57
#9F3EFE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9F3EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F3EFE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3EFE#FFFFFF#000000##000000
##9F3EFE1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#0075FA
Tritanopia (blue-blind)
#8A719D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f3efe;
/* rgb */ color: rgb(159, 62, 254);
/* oklch */ color: oklch(59.7% 0.263 301.6);
Tailwind
colors: {
  custom: {
    50: '#c37dff',
    500: '#9f3efe',
    950: '#000000',
  },
}
SCSS
$custom: #9f3efe;
$custom-light: #c37dff;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3efe",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 254
  },
  "hsl": {
    "h": 270.313,
    "s": 98.969,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59717,
    "c": 0.26324,
    "h": 301.6
  },
  "luminance": 0.17972
}

Semantic roles & 50–950 ramp

primary
#9F3EFE
secondary
#CCEFA8
accent
#E60072
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B18
muted
#827C86

Preview Lab

Preview with #9F3EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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