#905BFE#905BFE

#905BFE is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.5% C 0.230 H 293.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#905BFE
RGBrgb(144, 91, 254)
HSLhsl(260, 99%, 68%)
HSVhsv(260, 64%, 100%)
CMYKcmyk(43.3%, 64.2%, 0%, 0.4%)
CIE-LABlab(52.47, 56.74, -73.70)
CIE-LCHlch(52.47, 93.01, 307.59°)
OKLaboklab(61.48% 0.0913 -0.2107)
OKLCHoklch(61.48% 0.23 293.4)
XYZxyz(33.1272, 20.5663, 95.9710)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BFE #C9FE5B
analogous
#5B78FE #905BFE #E15BFE
triadic
#905BFE #FE905B #5BFE90
tetradic
#905BFE #FE5B78 #C9FE5B #5BFEE1
square
#905BFE #FE5B78 #C9FE5B #5BFEE1
split-complementary
#905BFE #FEE15B #78FE5B
monochromatic
#4901DD #671EFE #905BFE #B998FE #E2D5FF

Accessibility & contrast

On white

4.11
#905BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#905BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BFE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BFE#FFFFFF#000000##000000
##905BFE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#007AFB
Tritanopia (blue-blind)
#7182A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #905bfe;
/* rgb */ color: rgb(144, 91, 254);
/* oklch */ color: oklch(61.5% 0.230 293.4);
Tailwind
colors: {
  custom: {
    50: '#b88cff',
    500: '#905bfe',
    950: '#000000',
  },
}
SCSS
$custom: #905bfe;
$custom-light: #b88cff;
$custom-dark: #000000;
JSON
{
  "hex": "#905bfe",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 254
  },
  "hsl": {
    "h": 259.509,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61482,
    "c": 0.22961,
    "h": 293.4
  },
  "luminance": 0.20567
}

Semantic roles & 50–950 ramp

primary
#905BFE
secondary
#E3F4C1
accent
#E6009B
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #905BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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