#905ECB#905ECB

#905ECB is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.165 H 302.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#905ECB
RGBrgb(144, 94, 203)
HSLhsl(268, 51%, 58%)
HSVhsv(268, 54%, 80%)
CMYKcmyk(29.1%, 53.7%, 0%, 20.4%)
CIE-LABlab(49.79, 42.15, -49.27)
CIE-LCHlch(49.79, 64.84, 310.55°)
OKLaboklab(58.48% 0.0895 -0.1389)
OKLCHoklch(58.48% 0.165 302.8)
XYZxyz(26.2814, 18.2465, 58.6257)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905ECB #99CB5E
analogous
#5E62CB #905ECB #C75ECB
triadic
#905ECB #CB905E #5ECB90
tetradic
#905ECB #CB5E62 #99CB5E #5ECBC7
square
#905ECB #CB5E62 #99CB5E #5ECBC7
split-complementary
#905ECB #CBC75E #62CB5E
monochromatic
#542B84 #713AB2 #905ECB #B08CDA #D0BBE9

Accessibility & contrast

On white

4.52
#905ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#905ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905ECB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905ECB#FFFFFF#000000##000000
##905ECB1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3775CF
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#85738B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905ecb;
/* rgb */ color: rgb(144, 94, 203);
/* oklch */ color: oklch(58.5% 0.165 302.8);
Tailwind
colors: {
  custom: {
    50: '#b48ddb',
    500: '#905ecb',
    950: '#000000',
  },
}
SCSS
$custom: #905ecb;
$custom-light: #b48ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#905ecb",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 267.523,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58483,
    "c": 0.16522,
    "h": 302.8
  },
  "luminance": 0.18246
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #905ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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