#905CC2#905CC2

#905CC2 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.6% C 0.157 H 305.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#905CC2
RGBrgb(144, 92, 194)
HSLhsl(271, 46%, 56%)
HSVhsv(271, 53%, 76%)
CMYKcmyk(25.8%, 52.6%, 0%, 23.9%)
CIE-LABlab(48.86, 41.07, -45.58)
CIE-LCHlch(48.86, 61.36, 312.02°)
OKLaboklab(57.63% 0.0916 -0.1281)
OKLCHoklch(57.63% 0.157 305.6)
XYZxyz(25.0643, 17.4788, 53.0818)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CC2 #8EC25C
analogous
#5D5CC2 #905CC2 #C25CC1
triadic
#905CC2 #C2905C #5CC290
tetradic
#905CC2 #C25D5C #8EC25C #5CC1C2
square
#905CC2 #C25D5C #8EC25C #5CC1C2
split-complementary
#905CC2 #C1C25C #5CC25D
monochromatic
#532D77 #713DA4 #905CC2 #AE89D3 #CDB5E3

Accessibility & contrast

On white

4.67
#905CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#905CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905CC2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CC2#FFFFFF#000000##FFFFFF
##905CC21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C72C5
Deuteranopia (green-blind)
#4C74BF
Tritanopia (blue-blind)
#886E86
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #905cc2;
/* rgb */ color: rgb(144, 92, 194);
/* oklch */ color: oklch(57.6% 0.157 305.6);
Tailwind
colors: {
  custom: {
    50: '#b38cd5',
    500: '#905cc2',
    950: '#000000',
  },
}
SCSS
$custom: #905cc2;
$custom-light: #b38cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#905cc2",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 270.588,
    "s": 45.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57627,
    "c": 0.15746,
    "h": 305.6
  },
  "luminance": 0.17479
}

Semantic roles & 50–950 ramp

primary
#905CC2
secondary
#BCD2A8
accent
#D55393
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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