#903FD2#903FD2

#903FD2 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.7% C 0.216 H 305.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#903FD2
RGBrgb(144, 63, 210)
HSLhsl(273, 62%, 54%)
HSVhsv(273, 70%, 82%)
CMYKcmyk(31.4%, 70%, 0%, 17.6%)
CIE-LABlab(44.43, 59.50, -61.92)
CIE-LCHlch(44.43, 85.87, 313.86°)
OKLaboklab(54.73% 0.1255 -0.1759)
OKLCHoklch(54.73% 0.216 305.5)
XYZxyz(24.9094, 14.1376, 62.3768)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FD2 #81D23F
analogous
#463FD2 #903FD2 #D23FCA
triadic
#903FD2 #D2903F #3FD290
tetradic
#903FD2 #D2463F #81D23F #3FCAD2
square
#903FD2 #D2463F #81D23F #3FCAD2
split-complementary
#903FD2 #CAD23F #3FD246
monochromatic
#501D7A #7128AC #903FD2 #AD71DE #C9A2E9

Accessibility & contrast

On white

5.49
#903FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#903FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903FD2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FD2#FFFFFF#000000##FFFFFF
##903FD21.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#846184
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #903fd2;
/* rgb */ color: rgb(144, 63, 210);
/* oklch */ color: oklch(54.7% 0.216 305.5);
Tailwind
colors: {
  custom: {
    50: '#b67be1',
    500: '#903fd2',
    950: '#000000',
  },
}
SCSS
$custom: #903fd2;
$custom-light: #b67be1;
$custom-dark: #000000;
JSON
{
  "hex": "#903fd2",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 273.061,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54732,
    "c": 0.21608,
    "h": 305.5
  },
  "luminance": 0.14137
}

Semantic roles & 50–950 ramp

primary
#903FD2
secondary
#B3D697
accent
#E5438C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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