#905EF2#905EF2

#905EF2 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.0% C 0.212 H 294.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#905EF2
RGBrgb(144, 94, 242)
HSLhsl(260, 85%, 66%)
HSVhsv(260, 61%, 95%)
CMYKcmyk(40.5%, 61.2%, 0%, 5.1%)
CIE-LABlab(52.22, 52.04, -67.43)
CIE-LCHlch(52.22, 85.17, 307.66°)
OKLaboklab(61.04% 0.0892 -0.1922)
OKLCHoklch(61.04% 0.212 294.9)
XYZxyz(31.5271, 20.3448, 86.2531)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905EF2 #C0F25E
analogous
#5E76F2 #905EF2 #DA5EF2
triadic
#905EF2 #F2905E #5EF290
tetradic
#905EF2 #F25E76 #C0F25E #5EF2DA
square
#905EF2 #F25E76 #C0F25E #5EF2DA
split-complementary
#905EF2 #F2DA5E #76F25E
monochromatic
#4D10C6 #6925ED #905EF2 #B797F7 #DECFFB

Accessibility & contrast

On white

4.14
#905EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#905EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905EF2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905EF2#FFFFFF#000000##000000
##905EF21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#777F9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #905ef2;
/* rgb */ color: rgb(144, 94, 242);
/* oklch */ color: oklch(61.0% 0.212 294.9);
Tailwind
colors: {
  custom: {
    50: '#b78ef7',
    500: '#905ef2',
    950: '#000000',
  },
}
SCSS
$custom: #905ef2;
$custom-light: #b78ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#905ef2",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 260.27,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61042,
    "c": 0.21189,
    "h": 294.9
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#905EF2
secondary
#DEEEBD
accent
#E20497
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #905EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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