#9801FC#9801FC

#9801FC is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 55.6% C 0.293 H 302.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9801FC
RGBrgb(152, 1, 252)
HSLhsl(276, 99%, 50%)
HSVhsv(276, 100%, 99%)
CMYKcmyk(39.7%, 99.6%, 0%, 1.2%)
CIE-LABlab(43.84, 84.50, -86.67)
CIE-LCHlch(43.84, 121.05, 314.27°)
OKLaboklab(55.6% 0.1559 -0.2479)
OKLCHoklch(55.6% 0.293 302.2)
XYZxyz(30.5261, 13.7252, 93.1176)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9801FC #65FC01
analogous
#1B01FC #9801FC #FC01E2
triadic
#9801FC #FC9801 #01FC98
tetradic
#9801FC #FC1B01 #65FC01 #01E2FC
square
#9801FC #FC1B01 #65FC01 #01E2FC
split-complementary
#9801FC #E2FC01 #01FC1B
monochromatic
#4E0182 #7301BF #9801FC #B13CFE #C979FE

Accessibility & contrast

On white

5.61
#9801FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9801FC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9801FC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9801FC#FFFFFF#000000##FFFFFF
##9801FC1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066FF
Deuteranopia (green-blind)
#0067F8
Tritanopia (blue-blind)
#816194
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9801fc;
/* rgb */ color: rgb(152, 1, 252);
/* oklch */ color: oklch(55.6% 0.293 302.2);
Tailwind
colors: {
  custom: {
    50: '#c06bff',
    500: '#9801fc',
    950: '#000000',
  },
}
SCSS
$custom: #9801fc;
$custom-light: #c06bff;
$custom-dark: #000000;
JSON
{
  "hex": "#9801fc",
  "rgb": {
    "r": 152,
    "g": 1,
    "b": 252
  },
  "hsl": {
    "h": 276.096,
    "s": 99.209,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55599,
    "c": 0.2929,
    "h": 302.2
  },
  "luminance": 0.13725
}

Semantic roles & 50–950 ramp

primary
#9801FC
secondary
#A1E673
accent
#FF297E
background
#FCF7FF
surface
#F9EDFF
border
#D2C8D7
text
#140818
muted
#827B86

Preview Lab

Preview with #9801FC

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

Preview Lab → · Contrast checker → · Palette generator →

#9801FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva