#903FBF#903FBF

#903FBF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.4% C 0.197 H 310.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#903FBF
RGBrgb(144, 63, 191)
HSLhsl(278, 50%, 50%)
HSVhsv(278, 67%, 75%)
CMYKcmyk(24.6%, 67%, 0%, 25.1%)
CIE-LABlab(43.13, 55.25, -53.01)
CIE-LCHlch(43.13, 76.57, 316.19°)
OKLaboklab(53.39% 0.1277 -0.1497)
OKLCHoklch(53.39% 0.197 310.5)
XYZxyz(22.6813, 13.2464, 50.6421)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FBF #6EBF3F
analogous
#503FBF #903FBF #BF3FAE
triadic
#903FBF #BF903F #3FBF90
tetradic
#903FBF #BF503F #6EBF3F #3FAEBF
square
#903FBF #BF503F #6EBF3F #3FAEBF
split-complementary
#903FBF #AEBF3F #3FBF50
monochromatic
#4B2163 #6D3091 #903FBF #AB6DCF #C59BDE

Accessibility & contrast

On white

5.75
#903FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#903FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903FBF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FBF#FFFFFF#000000##FFFFFF
##903FBF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#2D67BC
Tritanopia (blue-blind)
#8A5A7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #903fbf;
/* rgb */ color: rgb(144, 63, 191);
/* oklch */ color: oklch(53.4% 0.197 310.5);
Tailwind
colors: {
  custom: {
    50: '#b47ad3',
    500: '#903fbf',
    950: '#000000',
  },
}
SCSS
$custom: #903fbf;
$custom-light: #b47ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#903fbf",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 277.969,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53394,
    "c": 0.1968,
    "h": 310.5
  },
  "luminance": 0.13246
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #903FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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