#903FCA#903FCA

#903FCA is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.2% C 0.208 H 307.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#903FCA
RGBrgb(144, 63, 202)
HSLhsl(275, 57%, 52%)
HSVhsv(275, 69%, 79%)
CMYKcmyk(28.7%, 68.8%, 0%, 20.8%)
CIE-LABlab(43.87, 57.69, -58.21)
CIE-LCHlch(43.87, 81.95, 314.75°)
OKLaboklab(54.16% 0.1266 -0.165)
OKLCHoklch(54.16% 0.208 307.5)
XYZxyz(23.9375, 13.7489, 57.2584)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FCA #79CA3F
analogous
#4B3FCA #903FCA #CA3FBF
triadic
#903FCA #CA903F #3FCA90
tetradic
#903FCA #CA4B3F #79CA3F #3FBFCA
square
#903FCA #CA4B3F #79CA3F #3FBFCA
split-complementary
#903FCA #BFCA3F #3FCA4B
monochromatic
#4E1F70 #6F2CA0 #903FCA #AC6FD7 #C79FE4

Accessibility & contrast

On white

5.60
#903FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#903FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903FCA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FCA#FFFFFF#000000##FFFFFF
##903FCA1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#1A68C7
Tritanopia (blue-blind)
#875E80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #903fca;
/* rgb */ color: rgb(144, 63, 202);
/* oklch */ color: oklch(54.2% 0.208 307.5);
Tailwind
colors: {
  custom: {
    50: '#b57adb',
    500: '#903fca',
    950: '#000000',
  },
}
SCSS
$custom: #903fca;
$custom-light: #b57adb;
$custom-dark: #000000;
JSON
{
  "hex": "#903fca",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 274.964,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54157,
    "c": 0.20796,
    "h": 307.5
  },
  "luminance": 0.13749
}

Semantic roles & 50–950 ramp

primary
#903FCA
secondary
#ADD194
accent
#E04887
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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