#754BE1#754BE1

#754BE1 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.215 H 290.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#754BE1
RGBrgb(117, 75, 225)
HSLhsl(257, 71%, 59%)
HSVhsv(257, 67%, 88%)
CMYKcmyk(48%, 66.7%, 0%, 11.8%)
CIE-LABlab(44.59, 52.39, -70.37)
CIE-LCHlch(44.59, 87.73, 306.67°)
OKLaboklab(54.51% 0.0745 -0.2017)
OKLCHoklch(54.51% 0.215 290.3)
XYZxyz(23.4389, 14.2494, 72.7350)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BE1 #B7E14B
analogous
#4B6CE1 #754BE1 #C04BE1
triadic
#754BE1 #E1754B #4BE175
tetradic
#754BE1 #E14B6C #B7E14B #4BE1C0
square
#754BE1 #E14B6C #B7E14B #4BE1C0
split-complementary
#754BE1 #E1C04B #6CE14B
monochromatic
#3D1998 #5222CD #754BE1 #9D7FEA #C5B4F2

Accessibility & contrast

On white

5.45
#754BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#754BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BE1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BE1#FFFFFF#000000##FFFFFF
##754BE11.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#527090
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #754be1;
/* rgb */ color: rgb(117, 75, 225);
/* oklch */ color: oklch(54.5% 0.215 290.3);
Tailwind
colors: {
  custom: {
    50: '#a580eb',
    500: '#754be1',
    950: '#000000',
  },
}
SCSS
$custom: #754be1;
$custom-light: #a580eb;
$custom-dark: #000000;
JSON
{
  "hex": "#754be1",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 256.8,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54508,
    "c": 0.21502,
    "h": 290.3
  },
  "luminance": 0.1425
}

Semantic roles & 50–950 ramp

primary
#754BE1
secondary
#D1E1A6
accent
#EE3ABC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754BE1

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

Preview Lab → · Contrast checker → · Palette generator →

#754BE1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva