#905EB0#905EB0

#905EB0 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.9% C 0.132 H 310.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#905EB0
RGBrgb(144, 94, 176)
HSLhsl(277, 34%, 53%)
HSVhsv(277, 47%, 69%)
CMYKcmyk(18.2%, 46.6%, 0%, 31%)
CIE-LABlab(48.35, 35.74, -35.94)
CIE-LCHlch(48.35, 50.69, 314.84°)
OKLaboklab(56.94% 0.0868 -0.1)
OKLCHoklch(56.94% 0.132 310.9)
XYZxyz(23.3394, 17.0697, 43.1312)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905EB0 #7EB05E
analogous
#675EB0 #905EB0 #B05EA7
triadic
#905EB0 #B0905E #5EB090
tetradic
#905EB0 #B0675E #7EB05E #5EA7B0
square
#905EB0 #B0675E #7EB05E #5EA7B0
split-complementary
#905EB0 #A7B05E #5EB067
monochromatic
#4F3163 #70458C #905EB0 #AC87C4 #C9B0D8

Accessibility & contrast

On white

4.76
#905EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#905EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905EB0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905EB0#FFFFFF#000000##FFFFFF
##905EB01.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C70B3
Deuteranopia (green-blind)
#5974AE
Tritanopia (blue-blind)
#8C6B7F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #905eb0;
/* rgb */ color: rgb(144, 94, 176);
/* oklch */ color: oklch(56.9% 0.132 310.9);
Tailwind
colors: {
  custom: {
    50: '#b28dc8',
    500: '#905eb0',
    950: '#000000',
  },
}
SCSS
$custom: #905eb0;
$custom-light: #b28dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#905eb0",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 276.585,
    "s": 34.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56939,
    "c": 0.13242,
    "h": 310.9
  },
  "luminance": 0.17069
}

Semantic roles & 50–950 ramp

primary
#905EB0
secondary
#B1C7A3
accent
#CA5E88
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #905EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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