#5700FF#5700FF

#5700FF is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 49.1% C 0.296 H 280.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5700FF
RGBrgb(87, 0, 255)
HSLhsl(260, 100%, 50%)
HSVhsv(260, 100%, 100%)
CMYKcmyk(65.9%, 100%, 0%, 0%)
CIE-LABlab(36.45, 80.80, -100.82)
CIE-LCHlch(36.45, 129.20, 308.71°)
OKLaboklab(49.06% 0.0542 -0.2906)
OKLCHoklch(49.06% 0.296 280.6)
XYZxyz(21.9748, 9.2444, 95.2147)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5700FF #A8FF00
analogous
#0028FF #5700FF #D700FF
triadic
#5700FF #FF5700 #00FF57
tetradic
#5700FF #FF0028 #A8FF00 #00FFD7
square
#5700FF #FF0028 #A8FF00 #00FFD7
split-complementary
#5700FF #FFD700 #28FF00
monochromatic
#2D0085 #4200C2 #5700FF #7F3DFF #A87AFF

Accessibility & contrast

On white

7.37
#5700FF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5700FF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5700FF
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5700FF#FFFFFF#000000##FFFFFF
##5700FF1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DFF
Deuteranopia (green-blind)
#004DFB
Tritanopia (blue-blind)
#006996
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5700ff;
/* rgb */ color: rgb(87, 0, 255);
/* oklch */ color: oklch(49.1% 0.296 280.6);
Tailwind
colors: {
  custom: {
    50: '#9e62ff',
    500: '#5700ff',
    950: '#000000',
  },
}
SCSS
$custom: #5700ff;
$custom-light: #9e62ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5700ff",
  "rgb": {
    "r": 87,
    "g": 0,
    "b": 255
  },
  "hsl": {
    "h": 260.471,
    "s": 100,
    "l": 50
  },
  "oklch": {
    "l": 0.4906,
    "c": 0.29561,
    "h": 280.6
  },
  "luminance": 0.09246
}

Semantic roles & 50–950 ramp

primary
#5700FF
secondary
#C0E774
accent
#FF29B6
background
#FBF6FF
surface
#F6EBFF
border
#D0C6D7
text
#110618
muted
#807A86

Preview Lab

Preview with #5700FF

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

Preview Lab → · Contrast checker → · Palette generator →

#5700FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva