#9057F6#9057F6

#9057F6 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.4% C 0.225 H 295.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9057F6
RGBrgb(144, 87, 246)
HSLhsl(262, 90%, 65%)
HSVhsv(262, 65%, 96%)
CMYKcmyk(41.5%, 64.6%, 0%, 3.5%)
CIE-LABlab(51.15, 56.72, -71.40)
CIE-LCHlch(51.15, 91.19, 308.46°)
OKLaboklab(60.35% 0.0963 -0.2039)
OKLCHoklch(60.35% 0.225 295.3)
XYZxyz(31.5399, 19.3988, 89.2535)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9057F6 #BDF657
analogous
#576EF6 #9057F6 #DF57F6
triadic
#9057F6 #F69057 #57F690
tetradic
#9057F6 #F6576E #BDF657 #57F6DF
square
#9057F6 #F6576E #BDF657 #57F6DF
split-complementary
#9057F6 #F6DF57 #6EF657
monochromatic
#4F0BC8 #6A1DF3 #9057F6 #B691F9 #DDCBFC

Accessibility & contrast

On white

4.30
#9057F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9057F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9057F6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9057F6#FFFFFF#000000##000000
##9057F61.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0077F3
Tritanopia (blue-blind)
#757C9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9057f6;
/* rgb */ color: rgb(144, 87, 246);
/* oklch */ color: oklch(60.4% 0.225 295.3);
Tailwind
colors: {
  custom: {
    50: '#b78afa',
    500: '#9057f6',
    950: '#000000',
  },
}
SCSS
$custom: #9057f6;
$custom-light: #b78afa;
$custom-dark: #000000;
JSON
{
  "hex": "#9057f6",
  "rgb": {
    "r": 144,
    "g": 87,
    "b": 246
  },
  "hsl": {
    "h": 261.509,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60351,
    "c": 0.22546,
    "h": 295.3
  },
  "luminance": 0.194
}

Semantic roles & 50–950 ramp

primary
#9057F6
secondary
#DCEFBA
accent
#E60093
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #9057F6

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

Preview Lab → · Contrast checker → · Palette generator →

#9057F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva