#905FE7#905FE7

#905FE7 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.4% C 0.198 H 296.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#905FE7
RGBrgb(144, 95, 231)
HSLhsl(262, 74%, 64%)
HSVhsv(262, 59%, 91%)
CMYKcmyk(37.7%, 58.9%, 0%, 9.4%)
CIE-LABlab(51.70, 48.66, -62.10)
CIE-LCHlch(51.70, 78.89, 308.08°)
OKLaboklab(60.43% 0.0886 -0.1765)
OKLCHoklch(60.43% 0.198 296.7)
XYZxyz(30.0139, 19.8827, 77.8423)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FE7 #B6E75F
analogous
#5F72E7 #905FE7 #D45FE7
triadic
#905FE7 #E7905F #5FE790
tetradic
#905FE7 #E75F72 #B6E75F #5FE7D4
square
#905FE7 #E75F72 #B6E75F #5FE7D4
split-complementary
#905FE7 #E7D45F #72E75F
monochromatic
#511BB1 #6B2ADF #905FE7 #B594EF #DAC9F7

Accessibility & contrast

On white

4.22
#905FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#905FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FE7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FE7#FFFFFF#000000##000000
##905FE71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#257AE4
Tritanopia (blue-blind)
#7B7C9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #905fe7;
/* rgb */ color: rgb(144, 95, 231);
/* oklch */ color: oklch(60.4% 0.198 296.7);
Tailwind
colors: {
  custom: {
    50: '#b68eef',
    500: '#905fe7',
    950: '#000000',
  },
}
SCSS
$custom: #905fe7;
$custom-light: #b68eef;
$custom-dark: #000000;
JSON
{
  "hex": "#905fe7",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 261.618,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60433,
    "c": 0.19753,
    "h": 296.7
  },
  "luminance": 0.19883
}

Semantic roles & 50–950 ramp

primary
#905FE7
secondary
#D8E9B9
accent
#D60F8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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