#5735BE#5735BE

#5735BE is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.8% C 0.200 H 286.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5735BE
RGBrgb(87, 53, 190)
HSLhsl(255, 56%, 48%)
HSVhsv(255, 72%, 75%)
CMYKcmyk(54.2%, 72.1%, 0%, 25.5%)
CIE-LABlab(34.58, 49.12, -66.62)
CIE-LCHlch(34.58, 82.78, 306.40°)
OKLaboklab(45.77% 0.0584 -0.1916)
OKLCHoklch(45.77% 0.2 286.9)
XYZxyz(14.4951, 8.2894, 49.5414)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735BE #9CBE35
analogous
#3557BE #5735BE #9C35BE
triadic
#5735BE #BE5735 #35BE57
tetradic
#5735BE #BE3557 #9CBE35 #35BE9C
square
#5735BE #BE3557 #9CBE35 #35BE9C
split-complementary
#5735BE #BE9C35 #57BE35
monochromatic
#2B1A5E #41288E #5735BE #7B5ED2 #A28EDF

Accessibility & contrast

On white

7.90
#5735BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5735BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735BE
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735BE#FFFFFF#000000##FFFFFF
##5735BE1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#2C5A76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5735be;
/* rgb */ color: rgb(87, 53, 190);
/* oklch */ color: oklch(45.8% 0.200 286.9);
Tailwind
colors: {
  custom: {
    50: '#916fd3',
    500: '#5735be',
    950: '#000000',
  },
}
SCSS
$custom: #5735be;
$custom-light: #916fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5735be",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 254.891,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45767,
    "c": 0.20029,
    "h": 286.9
  },
  "luminance": 0.0829
}

Semantic roles & 50–950 ramp

primary
#5735BE
secondary
#B9CA85
accent
#E048BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5735BE

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

Preview Lab → · Contrast checker → · Palette generator →

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