#905ECF#905ECF

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

Color values

HEX#905ECF
RGBrgb(144, 94, 207)
HSLhsl(267, 54%, 59%)
HSVhsv(267, 55%, 81%)
CMYKcmyk(30.4%, 54.6%, 0%, 18.8%)
CIE-LABlab(50.02, 43.13, -51.19)
CIE-LCHlch(50.02, 66.94, 310.12°)
OKLaboklab(58.73% 0.0897 -0.1445)
OKLCHoklch(58.73% 0.17 301.8)
XYZxyz(26.7642, 18.4396, 61.1686)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905ECF #9DCF5E
analogous
#5E65CF #905ECF #C95ECF
triadic
#905ECF #CF905E #5ECF90
tetradic
#905ECF #CF5E65 #9DCF5E #5ECFC9
square
#905ECF #CF5E65 #9DCF5E #5ECFC9
split-complementary
#905ECF #CFC95E #65CF5E
monochromatic
#54298A #7037B9 #905ECF #B18DDD #D1BCEB

Accessibility & contrast

On white

4.48
#905ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##905ECF#FFFFFF#000000##000000
##905ECF1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3276D3
Deuteranopia (green-blind)
#4377CC
Tritanopia (blue-blind)
#84748D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905ecf;
/* rgb */ color: rgb(144, 94, 207);
/* oklch */ color: oklch(58.7% 0.170 301.8);
Tailwind
colors: {
  custom: {
    50: '#b48dde',
    500: '#905ecf',
    950: '#000000',
  },
}
SCSS
$custom: #905ecf;
$custom-light: #b48dde;
$custom-dark: #000000;
JSON
{
  "hex": "#905ecf",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 266.549,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58728,
    "c": 0.17007,
    "h": 301.8
  },
  "luminance": 0.1844
}

Semantic roles & 50–950 ramp

primary
#905ECF
secondary
#C7DBAE
accent
#DD4A9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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