#905CC7#905CC7

#905CC7 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.9% C 0.163 H 304.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#905CC7
RGBrgb(144, 92, 199)
HSLhsl(269, 49%, 57%)
HSVhsv(269, 54%, 78%)
CMYKcmyk(27.6%, 53.8%, 0%, 22%)
CIE-LABlab(49.14, 42.28, -48.02)
CIE-LCHlch(49.14, 63.98, 311.36°)
OKLaboklab(57.93% 0.0919 -0.1352)
OKLCHoklch(57.93% 0.163 304.2)
XYZxyz(25.6353, 17.7072, 56.0891)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CC7 #93C75C
analogous
#5C5EC7 #905CC7 #C55CC7
triadic
#905CC7 #C7905C #5CC790
tetradic
#905CC7 #C75C5E #93C75C #5CC7C5
square
#905CC7 #C75C5E #93C75C #5CC7C5
split-complementary
#905CC7 #C7C55C #5EC75C
monochromatic
#532B7D #713BAB #905CC7 #AF8AD7 #CEB7E6

Accessibility & contrast

On white

4.62
#905CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#905CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905CC7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CC7#FFFFFF#000000##FFFFFF
##905CC71.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3773CB
Deuteranopia (green-blind)
#4875C4
Tritanopia (blue-blind)
#867089
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905cc7;
/* rgb */ color: rgb(144, 92, 199);
/* oklch */ color: oklch(57.9% 0.163 304.2);
Tailwind
colors: {
  custom: {
    50: '#b38cd8',
    500: '#905cc7',
    950: '#000000',
  },
}
SCSS
$custom: #905cc7;
$custom-light: #b38cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#905cc7",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 269.159,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57925,
    "c": 0.16349,
    "h": 304.2
  },
  "luminance": 0.17707
}

Semantic roles & 50–950 ramp

primary
#905CC7
secondary
#C0D5AA
accent
#D84F96
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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