#903FDB#903FDB

#903FDB is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.4% C 0.225 H 303.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#903FDB
RGBrgb(144, 63, 219)
HSLhsl(271, 68%, 55%)
HSVhsv(271, 71%, 86%)
CMYKcmyk(34.2%, 71.2%, 0%, 14.1%)
CIE-LABlab(45.08, 61.56, -66.02)
CIE-LCHlch(45.08, 90.27, 313.00°)
OKLaboklab(55.4% 0.1241 -0.188)
OKLCHoklch(55.4% 0.225 303.4)
XYZxyz(26.0623, 14.5988, 68.4489)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FDB #8ADB3F
analogous
#423FDB #903FDB #DB3FD8
triadic
#903FDB #DB903F #3FDB90
tetradic
#903FDB #DB423F #8ADB3F #3FD8DB
square
#903FDB #DB423F #8ADB3F #3FD8DB
split-complementary
#903FDB #D8DB3F #3FDB42
monochromatic
#521986 #7123BA #903FDB #AE73E5 #CCA6EE

Accessibility & contrast

On white

5.36
#903FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#903FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903FDB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FDB#FFFFFF#000000##FFFFFF
##903FDB1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#816589
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #903fdb;
/* rgb */ color: rgb(144, 63, 219);
/* oklch */ color: oklch(55.4% 0.225 303.4);
Tailwind
colors: {
  custom: {
    50: '#b67be7',
    500: '#903fdb',
    950: '#000000',
  },
}
SCSS
$custom: #903fdb;
$custom-light: #b67be7;
$custom-dark: #000000;
JSON
{
  "hex": "#903fdb",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 219
  },
  "hsl": {
    "h": 271.154,
    "s": 68.421,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55398,
    "c": 0.22522,
    "h": 303.4
  },
  "luminance": 0.14599
}

Semantic roles & 50–950 ramp

primary
#903FDB
secondary
#BADC9A
accent
#EB3D91
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #903FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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