#9051F2#9051F2

#9051F2 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.3% C 0.228 H 296.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9051F2
RGBrgb(144, 81, 242)
HSLhsl(263, 86%, 63%)
HSVhsv(263, 67%, 95%)
CMYKcmyk(40.5%, 66.5%, 0%, 5.1%)
CIE-LABlab(49.77, 58.71, -71.41)
CIE-LCHlch(49.77, 92.45, 309.43°)
OKLaboklab(59.27% 0.1028 -0.2039)
OKLCHoklch(59.27% 0.228 296.8)
XYZxyz(30.4669, 18.2244, 85.8997)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9051F2 #B3F251
analogous
#5162F2 #9051F2 #E051F2
triadic
#9051F2 #F29051 #51F290
tetradic
#9051F2 #F25162 #B3F251 #51F2E0
square
#9051F2 #F25162 #B3F251 #51F2E0
split-complementary
#9051F2 #F2E051 #62F251
monochromatic
#520EBB #6C18EE #9051F2 #B48AF6 #D9C3FB

Accessibility & contrast

On white

4.52
#9051F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9051F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9051F2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9051F2#FFFFFF#000000##000000
##9051F21.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#77779B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9051f2;
/* rgb */ color: rgb(144, 81, 242);
/* oklch */ color: oklch(59.3% 0.228 296.8);
Tailwind
colors: {
  custom: {
    50: '#b786f7',
    500: '#9051f2',
    950: '#000000',
  },
}
SCSS
$custom: #9051f2;
$custom-light: #b786f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9051f2",
  "rgb": {
    "r": 144,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 263.478,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59267,
    "c": 0.22835,
    "h": 296.8
  },
  "luminance": 0.18225
}

Semantic roles & 50–950 ramp

primary
#9051F2
secondary
#D6ECB3
accent
#E3038B
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #9051F2

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

Preview Lab → · Contrast checker → · Palette generator →

#9051F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva