#905BCF#905BCF

#905BCF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.3% C 0.175 H 302.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#905BCF
RGBrgb(144, 91, 207)
HSLhsl(267, 55%, 58%)
HSVhsv(267, 56%, 81%)
CMYKcmyk(30.4%, 56%, 0%, 18.8%)
CIE-LABlab(49.39, 44.78, -52.20)
CIE-LCHlch(49.39, 68.77, 310.63°)
OKLaboklab(58.26% 0.0935 -0.1474)
OKLCHoklch(58.26% 0.175 302.4)
XYZxyz(26.5026, 17.9164, 61.0814)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BCF #9ACF5B
analogous
#5B60CF #905BCF #CA5BCF
triadic
#905BCF #CF905B #5BCF90
tetradic
#905BCF #CF5B60 #9ACF5B #5BCFCA
square
#905BCF #CF5B60 #9ACF5B #5BCFCA
split-complementary
#905BCF #CFCA5B #60CF5B
monochromatic
#542888 #7136B7 #905BCF #B08ADD #D0BAEB

Accessibility & contrast

On white

4.58
#905BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#905BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BCF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BCF#FFFFFF#000000##000000
##905BCF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C74D3
Deuteranopia (green-blind)
#3F75CC
Tritanopia (blue-blind)
#84728C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905bcf;
/* rgb */ color: rgb(144, 91, 207);
/* oklch */ color: oklch(58.3% 0.175 302.4);
Tailwind
colors: {
  custom: {
    50: '#b48bde',
    500: '#905bcf',
    950: '#000000',
  },
}
SCSS
$custom: #905bcf;
$custom-light: #b48bde;
$custom-dark: #000000;
JSON
{
  "hex": "#905bcf",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 267.414,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.17461,
    "h": 302.4
  },
  "luminance": 0.17916
}

Semantic roles & 50–950 ramp

primary
#905BCF
secondary
#C5DAAC
accent
#DE4A9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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