#754FB2#754FB2

#754FB2 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.7% C 0.152 H 298.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#754FB2
RGBrgb(117, 79, 178)
HSLhsl(263, 39%, 50%)
HSVhsv(263, 56%, 70%)
CMYKcmyk(34.3%, 55.6%, 0%, 30.2%)
CIE-LABlab(42.14, 37.43, -47.16)
CIE-LCHlch(42.14, 60.21, 308.44°)
OKLaboklab(51.69% 0.073 -0.1335)
OKLCHoklch(51.69% 0.152 298.7)
XYZxyz(18.1660, 12.5880, 43.5835)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FB2 #8CB24F
analogous
#4F5BB2 #754FB2 #A64FB2
triadic
#754FB2 #B2754F #4FB275
tetradic
#754FB2 #B24F5B #8CB24F #4FB2A6
square
#754FB2 #B24F5B #8CB24F #4FB2A6
split-complementary
#754FB2 #B2A64F #5BB24F
monochromatic
#3D295E #593C88 #754FB2 #967AC5 #B8A4D7

Accessibility & contrast

On white

5.97
#754FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#754FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FB2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FB2#FFFFFF#000000##FFFFFF
##754FB21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2563B5
Deuteranopia (green-blind)
#3163B0
Tritanopia (blue-blind)
#686379
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754fb2;
/* rgb */ color: rgb(117, 79, 178);
/* oklch */ color: oklch(51.7% 0.152 298.7);
Tailwind
colors: {
  custom: {
    50: '#a081c9',
    500: '#754fb2',
    950: '#000000',
  },
}
SCSS
$custom: #754fb2;
$custom-light: #a081c9;
$custom-dark: #000000;
JSON
{
  "hex": "#754fb2",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 263.03,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51686,
    "c": 0.15213,
    "h": 298.7
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#754FB2
secondary
#B4C498
accent
#CF59A2
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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