#905BE7#905BE7

#905BE7 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.203 H 297.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#905BE7
RGBrgb(144, 91, 231)
HSLhsl(263, 74%, 63%)
HSVhsv(263, 61%, 91%)
CMYKcmyk(37.7%, 60.6%, 0%, 9.4%)
CIE-LABlab(50.90, 50.80, -63.40)
CIE-LCHlch(50.90, 81.24, 308.70°)
OKLaboklab(59.84% 0.0932 -0.1804)
OKLCHoklch(59.84% 0.203 297.3)
XYZxyz(29.6628, 19.1805, 77.7252)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BE7 #B2E75B
analogous
#5B6CE7 #905BE7 #D65BE7
triadic
#905BE7 #E7905B #5BE790
tetradic
#905BE7 #E75B6C #B2E75B #5BE7D6
square
#905BE7 #E75B6C #B2E75B #5BE7D6
split-complementary
#905BE7 #E7D65B #6CE75B
monochromatic
#5219AE #6C26DF #905BE7 #B490EF #D8C6F7

Accessibility & contrast

On white

4.34
#905BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#905BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BE7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BE7#FFFFFF#000000##000000
##905BE71.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#1A78E4
Tritanopia (blue-blind)
#7B7A99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #905be7;
/* rgb */ color: rgb(144, 91, 231);
/* oklch */ color: oklch(59.8% 0.203 297.3);
Tailwind
colors: {
  custom: {
    50: '#b68cef',
    500: '#905be7',
    950: '#000000',
  },
}
SCSS
$custom: #905be7;
$custom-light: #b68cef;
$custom-dark: #000000;
JSON
{
  "hex": "#905be7",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 262.714,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59844,
    "c": 0.20301,
    "h": 297.3
  },
  "luminance": 0.19181
}

Semantic roles & 50–950 ramp

primary
#905BE7
secondary
#D5E8B6
accent
#D70F8B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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