#905FC2#905FC2

#905FC2 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.1% C 0.153 H 305.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#905FC2
RGBrgb(144, 95, 194)
HSLhsl(270, 45%, 57%)
HSVhsv(270, 51%, 76%)
CMYKcmyk(25.8%, 51%, 0%, 23.9%)
CIE-LABlab(49.51, 39.40, -44.55)
CIE-LCHlch(49.51, 59.48, 311.49°)
OKLaboklab(58.11% 0.0875 -0.1251)
OKLCHoklch(58.11% 0.153 305)
XYZxyz(25.3293, 18.0089, 53.1701)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FC2 #91C25F
analogous
#5F60C2 #905FC2 #C25FC2
triadic
#905FC2 #C2905F #5FC290
tetradic
#905FC2 #C25F60 #91C25F #5FC2C2
square
#905FC2 #C25F60 #91C25F #5FC2C2
split-complementary
#905FC2 #C2C25F #60C25F
monochromatic
#532E79 #713FA5 #905FC2 #AF8BD3 #CDB8E4

Accessibility & contrast

On white

4.56
#905FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#905FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FC2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FC2#FFFFFF#000000##000000
##905FC21.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4174C5
Deuteranopia (green-blind)
#4F76C0
Tritanopia (blue-blind)
#887188
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905fc2;
/* rgb */ color: rgb(144, 95, 194);
/* oklch */ color: oklch(58.1% 0.153 305.0);
Tailwind
colors: {
  custom: {
    50: '#b38ed5',
    500: '#905fc2',
    950: '#000000',
  },
}
SCSS
$custom: #905fc2;
$custom-light: #b38ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#905fc2",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 269.697,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58107,
    "c": 0.15267,
    "h": 305
  },
  "luminance": 0.18009
}

Semantic roles & 50–950 ramp

primary
#905FC2
secondary
#BFD3AA
accent
#D45395
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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