#905FE8#905FE8

#905FE8 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.5% C 0.199 H 296.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#905FE8
RGBrgb(144, 95, 232)
HSLhsl(261, 75%, 64%)
HSVhsv(261, 59%, 91%)
CMYKcmyk(37.9%, 59.1%, 0%, 9%)
CIE-LABlab(51.77, 48.91, -62.56)
CIE-LCHlch(51.77, 79.41, 308.02°)
OKLaboklab(60.5% 0.0886 -0.1779)
OKLCHoklch(60.5% 0.199 296.5)
XYZxyz(30.1556, 19.9394, 78.5882)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FE8 #B7E85F
analogous
#5F73E8 #905FE8 #D55FE8
triadic
#905FE8 #E8905F #5FE890
tetradic
#905FE8 #E85F73 #B7E85F #5FE8D5
square
#905FE8 #E85F73 #B7E85F #5FE8D5
split-complementary
#905FE8 #E8D55F #73E85F
monochromatic
#501AB3 #6B29E0 #905FE8 #B595F0 #DACAF7

Accessibility & contrast

On white

4.21
#905FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#905FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FE8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FE8#FFFFFF#000000##000000
##905FE81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#237AE5
Tritanopia (blue-blind)
#7B7D9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #905fe8;
/* rgb */ color: rgb(144, 95, 232);
/* oklch */ color: oklch(60.5% 0.199 296.5);
Tailwind
colors: {
  custom: {
    50: '#b68ef0',
    500: '#905fe8',
    950: '#000000',
  },
}
SCSS
$custom: #905fe8;
$custom-light: #b68ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#905fe8",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 261.46,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.605,
    "c": 0.19872,
    "h": 296.5
  },
  "luminance": 0.1994
}

Semantic roles & 50–950 ramp

primary
#905FE8
secondary
#D8E9BA
accent
#D70E8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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