#905BCE#905BCE

#905BCE is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.173 H 302.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#905BCE
RGBrgb(144, 91, 206)
HSLhsl(268, 54%, 58%)
HSVhsv(268, 56%, 81%)
CMYKcmyk(30.1%, 55.8%, 0%, 19.2%)
CIE-LABlab(49.34, 44.53, -51.72)
CIE-LCHlch(49.34, 68.25, 310.73°)
OKLaboklab(58.2% 0.0935 -0.1461)
OKLCHoklch(58.2% 0.173 302.6)
XYZxyz(26.3807, 17.8677, 60.4395)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BCE #99CE5B
analogous
#5B5FCE #905BCE #C95BCE
triadic
#905BCE #CE905B #5BCE90
tetradic
#905BCE #CE5B5F #99CE5B #5BCEC9
square
#905BCE #CE5B5F #99CE5B #5BCEC9
split-complementary
#905BCE #CEC95B #5FCE5B
monochromatic
#542886 #7136B6 #905BCE #B08ADC #D0B9EA

Accessibility & contrast

On white

4.59
#905BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#905BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905BCE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BCE#FFFFFF#000000##FFFFFF
##905BCE1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D2
Deuteranopia (green-blind)
#4075CB
Tritanopia (blue-blind)
#84718C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905bce;
/* rgb */ color: rgb(144, 91, 206);
/* oklch */ color: oklch(58.2% 0.173 302.6);
Tailwind
colors: {
  custom: {
    50: '#b48bdd',
    500: '#905bce',
    950: '#000000',
  },
}
SCSS
$custom: #905bce;
$custom-light: #b48bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#905bce",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 267.652,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58201,
    "c": 0.17342,
    "h": 302.6
  },
  "luminance": 0.17868
}

Semantic roles & 50–950 ramp

primary
#905BCE
secondary
#C4D9AB
accent
#DD4A9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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