#900FCA#900FCA

#900FCA is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.6% C 0.248 H 310.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#900FCA
RGBrgb(144, 15, 202)
HSLhsl(281, 86%, 43%)
HSVhsv(281, 93%, 79%)
CMYKcmyk(28.7%, 92.6%, 0%, 20.8%)
CIE-LABlab(38.79, 72.38, -66.47)
CIE-LCHlch(38.79, 98.26, 317.44°)
OKLaboklab(50.59% 0.1607 -0.189)
OKLCHoklch(50.59% 0.248 310.4)
XYZxyz(22.3310, 10.5357, 56.7229)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#900FCA #49CA0F
analogous
#320FCA #900FCA #CA0FA7
triadic
#900FCA #CA900F #0FCA90
tetradic
#900FCA #CA320F #49CA0F #0FA7CA
square
#900FCA #CA320F #49CA0F #0FA7CA
split-complementary
#900FCA #A7CA0F #0FCA32
monochromatic
#3F0758 #670B91 #900FCA #B127EF #C660F3

Accessibility & contrast

On white

6.76
#900FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#900FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #900FCA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##900FCA#FFFFFF#000000##FFFFFF
##900FCA1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#874B77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #900fca;
/* rgb */ color: rgb(144, 15, 202);
/* oklch */ color: oklch(50.6% 0.248 310.4);
Tailwind
colors: {
  custom: {
    50: '#b768db',
    500: '#900fca',
    950: '#000000',
  },
}
SCSS
$custom: #900fca;
$custom-light: #b768db;
$custom-dark: #000000;
JSON
{
  "hex": "#900fca",
  "rgb": {
    "r": 144,
    "g": 15,
    "b": 202
  },
  "hsl": {
    "h": 281.39,
    "s": 86.175,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50594,
    "c": 0.24807,
    "h": 310.4
  },
  "luminance": 0.10535
}

Semantic roles & 50–950 ramp

primary
#900FCA
secondary
#83D75E
accent
#FC2B6C
background
#FBF6FD
surface
#F7ECFB
border
#D0C7D4
text
#120715
muted
#817A83

Preview Lab

Preview with #900FCA

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

Preview Lab → · Contrast checker → · Palette generator →

#900FCA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva