#9057FC#9057FC

#9057FC is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.232 H 294.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9057FC
RGBrgb(144, 87, 252)
HSLhsl(261, 96%, 66%)
HSVhsv(261, 65%, 99%)
CMYKcmyk(42.9%, 65.5%, 0%, 1.2%)
CIE-LABlab(51.58, 58.26, -74.04)
CIE-LCHlch(51.58, 94.22, 308.20°)
OKLaboklab(60.8% 0.0956 -0.2116)
OKLCHoklch(60.8% 0.232 294.3)
XYZxyz(32.4757, 19.7731, 94.1821)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9057FC #C3FC57
analogous
#5771FC #9057FC #E257FC
triadic
#9057FC #FC9057 #57FC90
tetradic
#9057FC #FC5771 #C3FC57 #57FCE2
square
#9057FC #FC5771 #C3FC57 #57FCE2
split-complementary
#9057FC #FCE257 #71FC57
monochromatic
#4C04D5 #681BFB #9057FC #B893FD #DFCFFE

Accessibility & contrast

On white

4.24
#9057FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9057FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9057FC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9057FC#FFFFFF#000000##000000
##9057FC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0078F9
Tritanopia (blue-blind)
#727FA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9057fc;
/* rgb */ color: rgb(144, 87, 252);
/* oklch */ color: oklch(60.8% 0.232 294.3);
Tailwind
colors: {
  custom: {
    50: '#b88afe',
    500: '#9057fc',
    950: '#000000',
  },
}
SCSS
$custom: #9057fc;
$custom-light: #b88afe;
$custom-dark: #000000;
JSON
{
  "hex": "#9057fc",
  "rgb": {
    "r": 144,
    "g": 87,
    "b": 252
  },
  "hsl": {
    "h": 260.727,
    "s": 96.491,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60795,
    "c": 0.23221,
    "h": 294.3
  },
  "luminance": 0.19774
}

Semantic roles & 50–950 ramp

primary
#9057FC
secondary
#E0F2BD
accent
#E60096
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #9057FC

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

Preview Lab → · Contrast checker → · Palette generator →

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