#905BEA#905BEA

#905BEA is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.1% C 0.207 H 296.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#905BEA
RGBrgb(144, 91, 234)
HSLhsl(262, 77%, 64%)
HSVhsv(262, 61%, 92%)
CMYKcmyk(38.5%, 61.1%, 0%, 8.2%)
CIE-LABlab(51.10, 51.57, -64.77)
CIE-LCHlch(51.10, 82.79, 308.52°)
OKLaboklab(60.05% 0.093 -0.1844)
OKLCHoklch(60.05% 0.207 296.8)
XYZxyz(30.0901, 19.3515, 79.9758)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BEA #B5EA5B
analogous
#5B6DEA #905BEA #D75BEA
triadic
#905BEA #EA905B #5BEA90
tetradic
#905BEA #EA5B6D #B5EA5B #5BEAD7
square
#905BEA #EA5B6D #B5EA5B #5BEAD7
split-complementary
#905BEA #EAD75B #6DEA5B
monochromatic
#5117B4 #6B25E3 #905BEA #B591F1 #D9C8F8

Accessibility & contrast

On white

4.31
#905BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#905BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BEA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BEA#FFFFFF#000000##000000
##905BEA1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#0F78E7
Tritanopia (blue-blind)
#7A7B9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #905bea;
/* rgb */ color: rgb(144, 91, 234);
/* oklch */ color: oklch(60.1% 0.207 296.8);
Tailwind
colors: {
  custom: {
    50: '#b68cf2',
    500: '#905bea',
    950: '#000000',
  },
}
SCSS
$custom: #905bea;
$custom-light: #b68cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#905bea",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 262.238,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60051,
    "c": 0.20651,
    "h": 296.8
  },
  "luminance": 0.19352
}

Semantic roles & 50–950 ramp

primary
#905BEA
secondary
#D7EAB7
accent
#DA0C8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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