#905AF4#905AF4

#905AF4 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.219 H 295.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#905AF4
RGBrgb(144, 90, 244)
HSLhsl(261, 88%, 65%)
HSVhsv(261, 63%, 96%)
CMYKcmyk(41%, 63.1%, 0%, 4.3%)
CIE-LABlab(51.58, 54.66, -69.59)
CIE-LCHlch(51.58, 88.49, 308.15°)
OKLaboklab(60.62% 0.0934 -0.1985)
OKLCHoklch(60.62% 0.219 295.2)
XYZxyz(31.4826, 19.7726, 87.7282)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905AF4 #BEF45A
analogous
#5A71F4 #905AF4 #DD5AF4
triadic
#905AF4 #F4905A #5AF490
tetradic
#905AF4 #F45A71 #BEF45A #5AF4DD
square
#905AF4 #F45A71 #BEF45A #5AF4DD
split-complementary
#905AF4 #F4DD5A #71F45A
monochromatic
#4E0DC6 #6921F0 #905AF4 #B793F8 #DDCDFC

Accessibility & contrast

On white

4.24
#905AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#905AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905AF4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905AF4#FFFFFF#000000##000000
##905AF41.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF9
Deuteranopia (green-blind)
#0079F1
Tritanopia (blue-blind)
#767D9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #905af4;
/* rgb */ color: rgb(144, 90, 244);
/* oklch */ color: oklch(60.6% 0.219 295.2);
Tailwind
colors: {
  custom: {
    50: '#b78bf9',
    500: '#905af4',
    950: '#000000',
  },
}
SCSS
$custom: #905af4;
$custom-light: #b78bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#905af4",
  "rgb": {
    "r": 144,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 261.039,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60616,
    "c": 0.2194,
    "h": 295.2
  },
  "luminance": 0.19773
}

Semantic roles & 50–950 ramp

primary
#905AF4
secondary
#DDEFBB
accent
#E40195
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #905AF4

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

Preview Lab → · Contrast checker → · Palette generator →

#905AF4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva