#754FB7#754FB7

#754FB7 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.0% C 0.158 H 297.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#754FB7
RGBrgb(117, 79, 183)
HSLhsl(262, 42%, 51%)
HSVhsv(262, 57%, 72%)
CMYKcmyk(36.1%, 56.8%, 0%, 28.2%)
CIE-LABlab(42.45, 38.75, -49.60)
CIE-LCHlch(42.45, 62.94, 308.00°)
OKLaboklab(52.02% 0.0731 -0.1406)
OKLCHoklch(52.02% 0.158 297.5)
XYZxyz(18.6772, 12.7925, 46.2758)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FB7 #91B74F
analogous
#4F5DB7 #754FB7 #A94FB7
triadic
#754FB7 #B7754F #4FB775
tetradic
#754FB7 #B74F5D #91B74F #4FB7A9
square
#754FB7 #B74F5D #91B74F #4FB7A9
split-complementary
#754FB7 #B7A94F #5DB74F
monochromatic
#3E2963 #593A8F #754FB7 #977AC9 #B9A6DB

Accessibility & contrast

On white

5.90
#754FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#754FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FB7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FB7#FFFFFF#000000##FFFFFF
##754FB71.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D65BA
Deuteranopia (green-blind)
#2C63B5
Tritanopia (blue-blind)
#66647B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754fb7;
/* rgb */ color: rgb(117, 79, 183);
/* oklch */ color: oklch(52.0% 0.158 297.5);
Tailwind
colors: {
  custom: {
    50: '#a182cd',
    500: '#754fb7',
    950: '#000000',
  },
}
SCSS
$custom: #754fb7;
$custom-light: #a182cd;
$custom-dark: #000000;
JSON
{
  "hex": "#754fb7",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 261.923,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52017,
    "c": 0.15848,
    "h": 297.5
  },
  "luminance": 0.12793
}

Semantic roles & 50–950 ramp

primary
#754FB7
secondary
#B7C89A
accent
#D256A5
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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