#754BAF#754BAF

#754BAF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.154 H 300.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#754BAF
RGBrgb(117, 75, 175)
HSLhsl(265, 40%, 49%)
HSVhsv(265, 57%, 69%)
CMYKcmyk(33.1%, 57.1%, 0%, 31.4%)
CIE-LABlab(41.07, 38.93, -47.10)
CIE-LCHlch(41.07, 61.10, 309.57°)
OKLaboklab(50.84% 0.0781 -0.1333)
OKLCHoklch(50.84% 0.154 300.4)
XYZxyz(17.5882, 11.9091, 41.9212)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BAF #85AF4B
analogous
#4B53AF #754BAF #A74BAF
triadic
#754BAF #AF754B #4BAF75
tetradic
#754BAF #AF4B53 #85AF4B #4BAFA7
square
#754BAF #AF4B53 #85AF4B #4BAFA7
split-complementary
#754BAF #AFA74B #53AF4B
monochromatic
#3C2659 #583984 #754BAF #9574C3 #B69FD6

Accessibility & contrast

On white

6.21
#754BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#754BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BAF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BAF#FFFFFF#000000##FFFFFF
##754BAF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E60B2
Deuteranopia (green-blind)
#2F60AD
Tritanopia (blue-blind)
#695F76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754baf;
/* rgb */ color: rgb(117, 75, 175);
/* oklch */ color: oklch(50.8% 0.154 300.4);
Tailwind
colors: {
  custom: {
    50: '#a07fc7',
    500: '#754baf',
    950: '#000000',
  },
}
SCSS
$custom: #754baf;
$custom-light: #a07fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#754baf",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 265.2,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50842,
    "c": 0.15448,
    "h": 300.4
  },
  "luminance": 0.11909
}

Semantic roles & 50–950 ramp

primary
#754BAF
secondary
#AFC293
accent
#D0589D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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