#903FBB#903FBB

#903FBB is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.1% C 0.193 H 311.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#903FBB
RGBrgb(144, 63, 187)
HSLhsl(279, 50%, 49%)
HSVhsv(279, 66%, 73%)
CMYKcmyk(23%, 66.3%, 0%, 26.7%)
CIE-LABlab(42.87, 54.38, -51.09)
CIE-LCHlch(42.87, 74.61, 316.79°)
OKLaboklab(53.12% 0.128 -0.1441)
OKLCHoklch(53.12% 0.193 311.6)
XYZxyz(22.2471, 13.0727, 48.3554)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FBB #6ABB3F
analogous
#523FBB #903FBB #BB3FA8
triadic
#903FBB #BB903F #3FBB90
tetradic
#903FBB #BB523F #6ABB3F #3FA8BB
square
#903FBB #BB523F #6ABB3F #3FA8BB
split-complementary
#903FBB #A8BB3F #3FBB52
monochromatic
#49205F #6D308D #903FBB #AB6ACD #C598DC

Accessibility & contrast

On white

5.81
#903FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#903FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903FBB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FBB#FFFFFF#000000##FFFFFF
##903FBB1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#3267B8
Tritanopia (blue-blind)
#8B5878
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #903fbb;
/* rgb */ color: rgb(144, 63, 187);
/* oklch */ color: oklch(53.1% 0.193 311.6);
Tailwind
colors: {
  custom: {
    50: '#b47ad0',
    500: '#903fbb',
    950: '#000000',
  },
}
SCSS
$custom: #903fbb;
$custom-light: #b47ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#903fbb",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 279.194,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53124,
    "c": 0.19275,
    "h": 311.6
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#903FBB
secondary
#A2C88E
accent
#D94F7F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #903FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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