#905ECA#905ECA

#905ECA is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.164 H 303.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#905ECA
RGBrgb(144, 94, 202)
HSLhsl(268, 50%, 58%)
HSVhsv(268, 53%, 79%)
CMYKcmyk(28.7%, 53.5%, 0%, 20.8%)
CIE-LABlab(49.74, 41.90, -48.79)
CIE-LCHlch(49.74, 64.31, 310.66°)
OKLaboklab(58.42% 0.0895 -0.1375)
OKLCHoklch(58.42% 0.164 303.1)
XYZxyz(26.1626, 18.1990, 58.0001)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905ECA #98CA5E
analogous
#5E62CA #905ECA #C65ECA
triadic
#905ECA #CA905E #5ECA90
tetradic
#905ECA #CA5E62 #98CA5E #5ECAC6
square
#905ECA #CA5E62 #98CA5E #5ECAC6
split-complementary
#905ECA #CAC65E #62CA5E
monochromatic
#542B83 #713AB1 #905ECA #B08CD9 #CFBAE8

Accessibility & contrast

On white

4.53
#905ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#905ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905ECA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905ECA#FFFFFF#000000##000000
##905ECA1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3875CE
Deuteranopia (green-blind)
#4876C7
Tritanopia (blue-blind)
#85728B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905eca;
/* rgb */ color: rgb(144, 94, 202);
/* oklch */ color: oklch(58.4% 0.164 303.1);
Tailwind
colors: {
  custom: {
    50: '#b38ddb',
    500: '#905eca',
    950: '#000000',
  },
}
SCSS
$custom: #905eca;
$custom-light: #b38ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#905eca",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 267.778,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58422,
    "c": 0.16401,
    "h": 303.1
  },
  "luminance": 0.18199
}

Semantic roles & 50–950 ramp

primary
#905ECA
secondary
#C3D7AC
accent
#DA4E99
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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