#905FE1#905FE1

#905FE1 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.0% C 0.190 H 297.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#905FE1
RGBrgb(144, 95, 225)
HSLhsl(263, 68%, 63%)
HSVhsv(263, 58%, 88%)
CMYKcmyk(36%, 57.8%, 0%, 11.8%)
CIE-LABlab(51.32, 47.12, -59.33)
CIE-LCHlch(51.32, 75.76, 308.45°)
OKLaboklab(60.03% 0.0887 -0.1684)
OKLCHoklch(60.03% 0.19 297.8)
XYZxyz(29.1810, 19.5496, 73.4556)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FE1 #B0E15F
analogous
#5F6FE1 #905FE1 #D15FE1
triadic
#905FE1 #E1905F #5FE190
tetradic
#905FE1 #E15F6F #B0E15F #5FE1D1
square
#905FE1 #E15F6F #B0E15F #5FE1D1
split-complementary
#905FE1 #E1D15F #6FE15F
monochromatic
#521FA6 #6C2BD7 #905FE1 #B493EB #D8C6F4

Accessibility & contrast

On white

4.28
#905FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#905FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FE1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FE1#FFFFFF#000000##000000
##905FE11.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#177BE5
Deuteranopia (green-blind)
#3079DE
Tritanopia (blue-blind)
#7D7A97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #905fe1;
/* rgb */ color: rgb(144, 95, 225);
/* oklch */ color: oklch(60.0% 0.190 297.8);
Tailwind
colors: {
  custom: {
    50: '#b58eeb',
    500: '#905fe1',
    950: '#000000',
  },
}
SCSS
$custom: #905fe1;
$custom-light: #b58eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#905fe1",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 262.615,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60033,
    "c": 0.19034,
    "h": 297.8
  },
  "luminance": 0.1955
}

Semantic roles & 50–950 ramp

primary
#905FE1
secondary
#D4E5B6
accent
#D0158A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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