#905FE4#905FE4

#905FE4 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.2% C 0.194 H 297.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#905FE4
RGBrgb(144, 95, 228)
HSLhsl(262, 71%, 63%)
HSVhsv(262, 58%, 89%)
CMYKcmyk(36.8%, 58.3%, 0%, 10.6%)
CIE-LABlab(51.51, 47.88, -60.72)
CIE-LCHlch(51.51, 77.33, 308.26°)
OKLaboklab(60.23% 0.0887 -0.1725)
OKLCHoklch(60.23% 0.194 297.2)
XYZxyz(29.5939, 19.7147, 75.6299)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FE4 #B3E45F
analogous
#5F70E4 #905FE4 #D25FE4
triadic
#905FE4 #E4905F #5FE490
tetradic
#905FE4 #E45F70 #B3E45F #5FE4D2
square
#905FE4 #E45F70 #B3E45F #5FE4D2
split-complementary
#905FE4 #E4D25F #70E45F
monochromatic
#521DAC #6C2BDB #905FE4 #B493ED #D9C8F6

Accessibility & contrast

On white

4.25
#905FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#905FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FE4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FE4#FFFFFF#000000##000000
##905FE41.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7BE8
Deuteranopia (green-blind)
#2B79E1
Tritanopia (blue-blind)
#7C7B98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #905fe4;
/* rgb */ color: rgb(144, 95, 228);
/* oklch */ color: oklch(60.2% 0.194 297.2);
Tailwind
colors: {
  custom: {
    50: '#b58eed',
    500: '#905fe4',
    950: '#000000',
  },
}
SCSS
$custom: #905fe4;
$custom-light: #b58eed;
$custom-dark: #000000;
JSON
{
  "hex": "#905fe4",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 262.105,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60232,
    "c": 0.19394,
    "h": 297.2
  },
  "luminance": 0.19715
}

Semantic roles & 50–950 ramp

primary
#905FE4
secondary
#D6E7B8
accent
#D3128C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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