#905EBA#905EBA

#905EBA is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.5% C 0.145 H 307.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#905EBA
RGBrgb(144, 94, 186)
HSLhsl(273, 40%, 55%)
HSVhsv(273, 49%, 73%)
CMYKcmyk(22.6%, 49.5%, 0%, 27.1%)
CIE-LABlab(48.86, 38.06, -40.95)
CIE-LCHlch(48.86, 55.91, 312.90°)
OKLaboklab(57.49% 0.0881 -0.1146)
OKLCHoklch(57.49% 0.145 307.6)
XYZxyz(24.3655, 17.4801, 48.5353)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905EBA #88BA5E
analogous
#625EBA #905EBA #BA5EB6
triadic
#905EBA #BA905E #5EBA90
tetradic
#905EBA #BA625E #88BA5E #5EB6BA
square
#905EBA #BA625E #88BA5E #5EB6BA
split-complementary
#905EBA #B6BA5E #5EBA62
monochromatic
#522F6E #714299 #905EBA #AE89CC #CBB4DF

Accessibility & contrast

On white

4.67
#905EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#905EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905EBA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905EBA#FFFFFF#000000##FFFFFF
##905EBA1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4572BD
Deuteranopia (green-blind)
#5375B8
Tritanopia (blue-blind)
#8A6E83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #905eba;
/* rgb */ color: rgb(144, 94, 186);
/* oklch */ color: oklch(57.5% 0.145 307.6);
Tailwind
colors: {
  custom: {
    50: '#b38dcf',
    500: '#905eba',
    950: '#000000',
  },
}
SCSS
$custom: #905eba;
$custom-light: #b38dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#905eba",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 272.609,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57487,
    "c": 0.14454,
    "h": 307.6
  },
  "luminance": 0.1748
}

Semantic roles & 50–950 ramp

primary
#905EBA
secondary
#B8CDA7
accent
#D0588F
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #905EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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