#903FCC#903FCC

#903FCC is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.3% C 0.210 H 307.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#903FCC
RGBrgb(144, 63, 204)
HSLhsl(274, 58%, 52%)
HSVhsv(274, 69%, 80%)
CMYKcmyk(29.4%, 69.1%, 0%, 20%)
CIE-LABlab(44.01, 58.14, -59.14)
CIE-LCHlch(44.01, 82.93, 314.51°)
OKLaboklab(54.3% 0.1264 -0.1677)
OKLCHoklch(54.3% 0.21 307)
XYZxyz(24.1759, 13.8442, 58.5136)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FCC #7BCC3F
analogous
#493FCC #903FCC #CC3FC2
triadic
#903FCC #CC903F #3FCC90
tetradic
#903FCC #CC493F #7BCC3F #3FC2CC
square
#903FCC #CC493F #7BCC3F #3FC2CC
split-complementary
#903FCC #C2CC3F #3FCC49
monochromatic
#4F1E72 #702BA3 #903FCC #AC6FD9 #C8A0E6

Accessibility & contrast

On white

5.57
#903FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#903FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903FCC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FCC#FFFFFF#000000##FFFFFF
##903FCC1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#1569C9
Tritanopia (blue-blind)
#865F81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #903fcc;
/* rgb */ color: rgb(144, 63, 204);
/* oklch */ color: oklch(54.3% 0.210 307.0);
Tailwind
colors: {
  custom: {
    50: '#b57adc',
    500: '#903fcc',
    950: '#000000',
  },
}
SCSS
$custom: #903fcc;
$custom-light: #b57adc;
$custom-dark: #000000;
JSON
{
  "hex": "#903fcc",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 274.468,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54299,
    "c": 0.20999,
    "h": 307
  },
  "luminance": 0.13844
}

Semantic roles & 50–950 ramp

primary
#903FCC
secondary
#AFD295
accent
#E14788
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903FCC

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

Preview Lab → · Contrast checker → · Palette generator →

#903FCC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva