#754FBE#754FBE

#754FBE is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.5% C 0.167 H 295.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#754FBE
RGBrgb(117, 79, 190)
HSLhsl(261, 46%, 53%)
HSVhsv(261, 58%, 75%)
CMYKcmyk(38.4%, 58.4%, 0%, 25.5%)
CIE-LABlab(42.90, 40.63, -52.96)
CIE-LCHlch(42.90, 66.75, 307.49°)
OKLaboklab(52.49% 0.0731 -0.1505)
OKLCHoklch(52.49% 0.167 295.9)
XYZxyz(19.4240, 13.0912, 50.2087)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FBE #98BE4F
analogous
#4F60BE #754FBE #AD4FBE
triadic
#754FBE #BE754F #4FBE75
tetradic
#754FBE #BE4F60 #98BE4F #4FBEAD
square
#754FBE #BE4F60 #98BE4F #4FBEAD
split-complementary
#754FBE #BEAD4F #60BE4F
monochromatic
#3F286B #593898 #754FBE #987CCF #BBA8DF

Accessibility & contrast

On white

5.80
#754FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#754FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FBE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FBE#FFFFFF#000000##FFFFFF
##754FBE1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D66C2
Deuteranopia (green-blind)
#2164BC
Tritanopia (blue-blind)
#63677F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754fbe;
/* rgb */ color: rgb(117, 79, 190);
/* oklch */ color: oklch(52.5% 0.167 295.9);
Tailwind
colors: {
  custom: {
    50: '#a182d2',
    500: '#754fbe',
    950: '#000000',
  },
}
SCSS
$custom: #754fbe;
$custom-light: #a182d2;
$custom-dark: #000000;
JSON
{
  "hex": "#754fbe",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 260.541,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52493,
    "c": 0.16731,
    "h": 295.9
  },
  "luminance": 0.13092
}

Semantic roles & 50–950 ramp

primary
#754FBE
secondary
#BCCC9C
accent
#D652A9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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