#903FBE#903FBE

#903FBE is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.3% C 0.196 H 310.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#903FBE
RGBrgb(144, 63, 190)
HSLhsl(278, 50%, 50%)
HSVhsv(278, 67%, 75%)
CMYKcmyk(24.2%, 66.8%, 0%, 25.5%)
CIE-LABlab(43.07, 55.03, -52.53)
CIE-LCHlch(43.07, 76.08, 316.33°)
OKLaboklab(53.33% 0.1278 -0.1483)
OKLCHoklch(53.33% 0.196 310.8)
XYZxyz(22.5716, 13.2025, 50.0645)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FBE #6DBE3F
analogous
#513FBE #903FBE #BE3FAD
triadic
#903FBE #BE903F #3FBE90
tetradic
#903FBE #BE513F #6DBE3F #3FADBE
square
#903FBE #BE513F #6DBE3F #3FADBE
split-complementary
#903FBE #ADBE3F #3FBE51
monochromatic
#4A2162 #6D3090 #903FBE #AB6CCE #C59ADD

Accessibility & contrast

On white

5.77
#903FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#903FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903FBE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FBE#FFFFFF#000000##FFFFFF
##903FBE1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#2E67BB
Tritanopia (blue-blind)
#8A5979
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #903fbe;
/* rgb */ color: rgb(144, 63, 190);
/* oklch */ color: oklch(53.3% 0.196 310.8);
Tailwind
colors: {
  custom: {
    50: '#b47ad2',
    500: '#903fbe',
    950: '#000000',
  },
}
SCSS
$custom: #903fbe;
$custom-light: #b47ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#903fbe",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 278.268,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53326,
    "c": 0.19579,
    "h": 310.8
  },
  "luminance": 0.13202
}

Semantic roles & 50–950 ramp

primary
#903FBE
secondary
#A4C98F
accent
#DA4E81
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #903FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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