#905FCA#905FCA

#905FCA is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.6% C 0.162 H 302.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#905FCA
RGBrgb(144, 95, 202)
HSLhsl(267, 50%, 58%)
HSVhsv(267, 53%, 79%)
CMYKcmyk(28.7%, 53%, 0%, 20.8%)
CIE-LABlab(49.95, 41.35, -48.44)
CIE-LCHlch(49.95, 63.69, 310.48°)
OKLaboklab(58.58% 0.0881 -0.1365)
OKLCHoklch(58.58% 0.162 302.9)
XYZxyz(26.2521, 18.3780, 58.0299)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FCA #99CA5F
analogous
#5F63CA #905FCA #C65FCA
triadic
#905FCA #CA905F #5FCA90
tetradic
#905FCA #CA5F63 #99CA5F #5FCAC6
square
#905FCA #CA5F63 #99CA5F #5FCAC6
split-complementary
#905FCA #CAC65F #63CA5F
monochromatic
#542B83 #713BB1 #905FCA #B08DD9 #D0BBE8

Accessibility & contrast

On white

4.49
#905FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#905FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FCA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FCA#FFFFFF#000000##000000
##905FCA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CE
Deuteranopia (green-blind)
#4977C7
Tritanopia (blue-blind)
#85738B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905fca;
/* rgb */ color: rgb(144, 95, 202);
/* oklch */ color: oklch(58.6% 0.162 302.9);
Tailwind
colors: {
  custom: {
    50: '#b38edb',
    500: '#905fca',
    950: '#000000',
  },
}
SCSS
$custom: #905fca;
$custom-light: #b38edb;
$custom-dark: #000000;
JSON
{
  "hex": "#905fca",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 267.477,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58581,
    "c": 0.16245,
    "h": 302.9
  },
  "luminance": 0.18378
}

Semantic roles & 50–950 ramp

primary
#905FCA
secondary
#C4D8AD
accent
#DA4E9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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