#905FE3#905FE3

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

Color values

HEX#905FE3
RGBrgb(144, 95, 227)
HSLhsl(262, 70%, 63%)
HSVhsv(262, 58%, 89%)
CMYKcmyk(36.6%, 58.1%, 0%, 11%)
CIE-LABlab(51.45, 47.63, -60.26)
CIE-LCHlch(51.45, 76.81, 308.32°)
OKLaboklab(60.17% 0.0887 -0.1711)
OKLCHoklch(60.17% 0.193 297.4)
XYZxyz(29.4554, 19.6593, 74.9009)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FE3 #B2E35F
analogous
#5F70E3 #905FE3 #D25FE3
triadic
#905FE3 #E3905F #5FE390
tetradic
#905FE3 #E35F70 #B2E35F #5FE3D2
square
#905FE3 #E35F70 #B2E35F #5FE3D2
split-complementary
#905FE3 #E3D25F #70E35F
monochromatic
#521EAA #6C2BDA #905FE3 #B493EC #D8C7F5

Accessibility & contrast

On white

4.26
#905FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#905FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FE3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FE3#FFFFFF#000000##000000
##905FE31.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#117BE7
Deuteranopia (green-blind)
#2D79E0
Tritanopia (blue-blind)
#7D7B98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #905fe3;
/* rgb */ color: rgb(144, 95, 227);
/* oklch */ color: oklch(60.2% 0.193 297.4);
Tailwind
colors: {
  custom: {
    50: '#b58eec',
    500: '#905fe3',
    950: '#000000',
  },
}
SCSS
$custom: #905fe3;
$custom-light: #b58eec;
$custom-dark: #000000;
JSON
{
  "hex": "#905fe3",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 262.273,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60165,
    "c": 0.19273,
    "h": 297.4
  },
  "luminance": 0.1966
}

Semantic roles & 50–950 ramp

primary
#905FE3
secondary
#D5E7B7
accent
#D2138B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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