#5735EF#5735EF

#5735EF is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.4% C 0.256 H 280.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5735EF
RGBrgb(87, 53, 239)
HSLhsl(251, 85%, 57%)
HSVhsv(251, 78%, 94%)
CMYKcmyk(63.6%, 77.8%, 0%, 6.3%)
CIE-LABlab(39.25, 63.07, -87.18)
CIE-LCHlch(39.25, 107.60, 305.89°)
OKLaboklab(50.45% 0.0461 -0.2516)
OKLCHoklch(50.45% 0.256 280.4)
XYZxyz(20.7786, 10.8028, 82.6348)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735EF #CDEF35
analogous
#3570EF #5735EF #B435EF
triadic
#5735EF #EF5735 #35EF57
tetradic
#5735EF #EF3570 #CDEF35 #35EFB4
square
#5735EF #EF3570 #CDEF35 #35EFB4
split-complementary
#5735EF #EFB435 #70EF35
monochromatic
#270C9D #3511D6 #5735EF #866EF3 #B5A6F8

Accessibility & contrast

On white

6.64
#5735EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5735EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5735EF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735EF#FFFFFF#000000##FFFFFF
##5735EF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063F4
Deuteranopia (green-blind)
#0055EC
Tritanopia (blue-blind)
#006D92
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5735ef;
/* rgb */ color: rgb(87, 53, 239);
/* oklch */ color: oklch(50.4% 0.256 280.4);
Tailwind
colors: {
  custom: {
    50: '#9972f6',
    500: '#5735ef',
    950: '#000000',
  },
}
SCSS
$custom: #5735ef;
$custom-light: #9972f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5735ef",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 239
  },
  "hsl": {
    "h": 250.968,
    "s": 85.321,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50447,
    "c": 0.25582,
    "h": 280.4
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

primary
#5735EF
secondary
#D8E69A
accent
#FC2CD6
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100817
muted
#7F7B85

Preview Lab

Preview with #5735EF

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

Preview Lab → · Contrast checker → · Palette generator →

#5735EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva