#754FBA#754FBA

#754FBA is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.2% C 0.162 H 296.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#754FBA
RGBrgb(117, 79, 186)
HSLhsl(261, 44%, 52%)
HSVhsv(261, 58%, 73%)
CMYKcmyk(37.1%, 57.5%, 0%, 27.1%)
CIE-LABlab(42.64, 39.56, -51.04)
CIE-LCHlch(42.64, 64.58, 307.77°)
OKLaboklab(52.22% 0.0731 -0.1449)
OKLCHoklch(52.22% 0.162 296.8)
XYZxyz(18.9928, 12.9187, 47.9378)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FBA #94BA4F
analogous
#4F5FBA #754FBA #AA4FBA
triadic
#754FBA #BA754F #4FBA75
tetradic
#754FBA #BA4F5F #94BA4F #4FBAAA
square
#754FBA #BA4F5F #94BA4F #4FBAAA
split-complementary
#754FBA #BAAA4F #5FBA4F
monochromatic
#3E2866 #593992 #754FBA #977BCB #BAA7DC

Accessibility & contrast

On white

5.86
#754FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#754FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FBA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FBA#FFFFFF#000000##FFFFFF
##754FBA1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1765BE
Deuteranopia (green-blind)
#2763B8
Tritanopia (blue-blind)
#65657D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754fba;
/* rgb */ color: rgb(117, 79, 186);
/* oklch */ color: oklch(52.2% 0.162 296.8);
Tailwind
colors: {
  custom: {
    50: '#a182cf',
    500: '#754fba',
    950: '#000000',
  },
}
SCSS
$custom: #754fba;
$custom-light: #a182cf;
$custom-dark: #000000;
JSON
{
  "hex": "#754fba",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 261.308,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52219,
    "c": 0.16228,
    "h": 296.8
  },
  "luminance": 0.12919
}

Semantic roles & 50–950 ramp

primary
#754FBA
secondary
#B9CA9B
accent
#D354A6
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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