#905DB0#905DB0

#905DB0 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.8% C 0.134 H 311.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#905DB0
RGBrgb(144, 93, 176)
HSLhsl(277, 34%, 53%)
HSVhsv(277, 47%, 69%)
CMYKcmyk(18.2%, 47.2%, 0%, 31%)
CIE-LABlab(48.12, 36.31, -36.29)
CIE-LCHlch(48.12, 51.33, 315.01°)
OKLaboklab(56.77% 0.0882 -0.101)
OKLCHoklch(56.77% 0.134 311.1)
XYZxyz(23.2510, 16.8930, 43.1017)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DB0 #7DB05D
analogous
#665DB0 #905DB0 #B05DA7
triadic
#905DB0 #B0905D #5DB090
tetradic
#905DB0 #B0665D #7DB05D #5DA7B0
square
#905DB0 #B0665D #7DB05D #5DA7B0
split-complementary
#905DB0 #A7B05D #5DB066
monochromatic
#4F3063 #70448C #905DB0 #AC86C4 #C8AFD8

Accessibility & contrast

On white

4.80
#905DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#905DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905DB0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DB0#FFFFFF#000000##FFFFFF
##905DB01.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B3
Deuteranopia (green-blind)
#5873AE
Tritanopia (blue-blind)
#8C6A7E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #905db0;
/* rgb */ color: rgb(144, 93, 176);
/* oklch */ color: oklch(56.8% 0.134 311.1);
Tailwind
colors: {
  custom: {
    50: '#b28cc8',
    500: '#905db0',
    950: '#000000',
  },
}
SCSS
$custom: #905db0;
$custom-light: #b28cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#905db0",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 176
  },
  "hsl": {
    "h": 276.867,
    "s": 34.44,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56773,
    "c": 0.13413,
    "h": 311.1
  },
  "luminance": 0.16893
}

Semantic roles & 50–950 ramp

primary
#905DB0
secondary
#B0C6A2
accent
#CB5D87
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #905DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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