#905BE8#905BE8

#905BE8 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.204 H 297.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#905BE8
RGBrgb(144, 91, 232)
HSLhsl(263, 75%, 63%)
HSVhsv(263, 61%, 91%)
CMYKcmyk(37.9%, 60.8%, 0%, 9%)
CIE-LABlab(50.96, 51.06, -63.86)
CIE-LCHlch(50.96, 81.76, 308.64°)
OKLaboklab(59.91% 0.0931 -0.1817)
OKLCHoklch(59.91% 0.204 297.1)
XYZxyz(29.8045, 19.2372, 78.4712)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BE8 #B3E85B
analogous
#5B6CE8 #905BE8 #D65BE8
triadic
#905BE8 #E8905B #5BE890
tetradic
#905BE8 #E85B6C #B3E85B #5BE8D6
square
#905BE8 #E85B6C #B3E85B #5BE8D6
split-complementary
#905BE8 #E8D65B #6CE85B
monochromatic
#5219B0 #6C25E0 #905BE8 #B491F0 #D9C6F7

Accessibility & contrast

On white

4.33
#905BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#905BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BE8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BE8#FFFFFF#000000##000000
##905BE81.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#1778E5
Tritanopia (blue-blind)
#7B7A99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #905be8;
/* rgb */ color: rgb(144, 91, 232);
/* oklch */ color: oklch(59.9% 0.204 297.1);
Tailwind
colors: {
  custom: {
    50: '#b68cf0',
    500: '#905be8',
    950: '#000000',
  },
}
SCSS
$custom: #905be8;
$custom-light: #b68cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#905be8",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 262.553,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59913,
    "c": 0.20417,
    "h": 297.1
  },
  "luminance": 0.19238
}

Semantic roles & 50–950 ramp

primary
#905BE8
secondary
#D6E9B6
accent
#D80E8C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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