#905CE7#905CE7

#905CE7 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.0% C 0.202 H 297.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#905CE7
RGBrgb(144, 92, 231)
HSLhsl(262, 74%, 63%)
HSVhsv(262, 60%, 91%)
CMYKcmyk(37.7%, 60.2%, 0%, 9.4%)
CIE-LABlab(51.10, 50.27, -63.08)
CIE-LCHlch(51.10, 80.66, 308.55°)
OKLaboklab(59.99% 0.092 -0.1794)
OKLCHoklch(59.99% 0.202 297.2)
XYZxyz(29.7489, 19.3526, 77.7539)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CE7 #B3E75C
analogous
#5C6DE7 #905CE7 #D55CE7
triadic
#905CE7 #E7905C #5CE790
tetradic
#905CE7 #E75C6D #B3E75C #5CE7D5
square
#905CE7 #E75C6D #B3E75C #5CE7D5
split-complementary
#905CE7 #E7D55C #6DE75C
monochromatic
#521AAF #6C27DF #905CE7 #B491EF #D9C7F7

Accessibility & contrast

On white

4.31
#905CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#905CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CE7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CE7#FFFFFF#000000##000000
##905CE71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#1D78E4
Tritanopia (blue-blind)
#7B7A99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #905ce7;
/* rgb */ color: rgb(144, 92, 231);
/* oklch */ color: oklch(60.0% 0.202 297.2);
Tailwind
colors: {
  custom: {
    50: '#b68cef',
    500: '#905ce7',
    950: '#000000',
  },
}
SCSS
$custom: #905ce7;
$custom-light: #b68cef;
$custom-dark: #000000;
JSON
{
  "hex": "#905ce7",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 262.446,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59989,
    "c": 0.20165,
    "h": 297.2
  },
  "luminance": 0.19353
}

Semantic roles & 50–950 ramp

primary
#905CE7
secondary
#D6E8B7
accent
#D60F8C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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