#905FCC#905FCC

#905FCC is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.7% C 0.165 H 302.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#905FCC
RGBrgb(144, 95, 204)
HSLhsl(267, 52%, 59%)
HSVhsv(267, 53%, 80%)
CMYKcmyk(29.4%, 53.4%, 0%, 20%)
CIE-LABlab(50.07, 41.84, -49.41)
CIE-LCHlch(50.07, 64.74, 310.26°)
OKLaboklab(58.7% 0.0883 -0.1393)
OKLCHoklch(58.7% 0.165 302.4)
XYZxyz(26.4904, 18.4733, 59.2851)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FCC #9BCC5F
analogous
#5F64CC #905FCC #C65FCC
triadic
#905FCC #CC905F #5FCC90
tetradic
#905FCC #CC5F64 #9BCC5F #5FCCC6
square
#905FCC #CC5F64 #9BCC5F #5FCCC6
split-complementary
#905FCC #CCC65F #64CC5F
monochromatic
#542B86 #7139B4 #905FCC #B08DDB #D0BCEA

Accessibility & contrast

On white

4.47
#905FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#905FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FCC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FCC#FFFFFF#000000##000000
##905FCC1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3876D0
Deuteranopia (green-blind)
#4777C9
Tritanopia (blue-blind)
#85748C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905fcc;
/* rgb */ color: rgb(144, 95, 204);
/* oklch */ color: oklch(58.7% 0.165 302.4);
Tailwind
colors: {
  custom: {
    50: '#b48edc',
    500: '#905fcc',
    950: '#000000',
  },
}
SCSS
$custom: #905fcc;
$custom-light: #b48edc;
$custom-dark: #000000;
JSON
{
  "hex": "#905fcc",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 266.972,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58702,
    "c": 0.16489,
    "h": 302.4
  },
  "luminance": 0.18473
}

Semantic roles & 50–950 ramp

primary
#905FCC
secondary
#C6D9AE
accent
#DB4D9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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