#905BCC#905BCC

#905BCC is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.171 H 303.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#905BCC
RGBrgb(144, 91, 204)
HSLhsl(268, 53%, 58%)
HSVhsv(268, 55%, 80%)
CMYKcmyk(29.4%, 55.4%, 0%, 20%)
CIE-LABlab(49.22, 44.04, -50.76)
CIE-LCHlch(49.22, 67.21, 310.95°)
OKLaboklab(58.08% 0.0934 -0.1432)
OKLCHoklch(58.08% 0.171 303.1)
XYZxyz(26.1393, 17.7711, 59.1681)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BCC #97CC5B
analogous
#5B5ECC #905BCC #C95BCC
triadic
#905BCC #CC905B #5BCC90
tetradic
#905BCC #CC5B5E #97CC5B #5BCCC9
square
#905BCC #CC5B5E #97CC5B #5BCCC9
split-complementary
#905BCC #CCC95B #5ECC5B
monochromatic
#532984 #7137B2 #905BCC #B08ADB #CFB8E9

Accessibility & contrast

On white

4.61
#905BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#905BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905BCC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BCC#FFFFFF#000000##FFFFFF
##905BCC1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D0
Deuteranopia (green-blind)
#4275C9
Tritanopia (blue-blind)
#85718B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905bcc;
/* rgb */ color: rgb(144, 91, 204);
/* oklch */ color: oklch(58.1% 0.171 303.1);
Tailwind
colors: {
  custom: {
    50: '#b48bdc',
    500: '#905bcc',
    950: '#000000',
  },
}
SCSS
$custom: #905bcc;
$custom-light: #b48bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#905bcc",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 268.142,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58076,
    "c": 0.17103,
    "h": 303.1
  },
  "luminance": 0.17771
}

Semantic roles & 50–950 ramp

primary
#905BCC
secondary
#C3D8AB
accent
#DC4C98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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