#5735DB#5735DB

#5735DB is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.234 H 282.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5735DB
RGBrgb(87, 53, 219)
HSLhsl(252, 70%, 53%)
HSVhsv(252, 76%, 86%)
CMYKcmyk(60.3%, 75.8%, 0%, 14.1%)
CIE-LABlab(37.27, 57.43, -79.04)
CIE-LCHlch(37.27, 97.71, 306.00°)
OKLaboklab(48.48% 0.0514 -0.2279)
OKLCHoklch(48.48% 0.234 282.7)
XYZxyz(17.9858, 9.6857, 67.9258)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735DB #B9DB35
analogous
#3566DB #5735DB #AA35DB
triadic
#5735DB #DB5735 #35DB57
tetradic
#5735DB #DB3566 #B9DB35 #35DBAA
square
#5735DB #DB3566 #B9DB35 #35DBAA
split-complementary
#5735DB #DBAA35 #66DB35
monochromatic
#2C177F #3E20B3 #5735DB #8269E4 #AD9DEE

Accessibility & contrast

On white

7.15
#5735DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5735DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735DB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735DB#FFFFFF#000000##FFFFFF
##5735DB1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE0
Deuteranopia (green-blind)
#0052D8
Tritanopia (blue-blind)
#006587
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5735db;
/* rgb */ color: rgb(87, 53, 219);
/* oklch */ color: oklch(48.5% 0.234 282.7);
Tailwind
colors: {
  custom: {
    50: '#9571e8',
    500: '#5735db',
    950: '#000000',
  },
}
SCSS
$custom: #5735db;
$custom-light: #9571e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5735db",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 219
  },
  "hsl": {
    "h": 252.289,
    "s": 69.748,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48481,
    "c": 0.23365,
    "h": 282.7
  },
  "luminance": 0.09687
}

Semantic roles & 50–950 ramp

primary
#5735DB
secondary
#CBDA92
accent
#ED3BC8
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5735DB

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

Preview Lab → · Contrast checker → · Palette generator →

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