#754BC2#754BC2

#754BC2 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.178 H 295.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#754BC2
RGBrgb(117, 75, 194)
HSLhsl(261, 49%, 53%)
HSVhsv(261, 61%, 76%)
CMYKcmyk(39.7%, 61.3%, 0%, 23.9%)
CIE-LABlab(42.32, 43.95, -56.23)
CIE-LCHlch(42.32, 71.37, 308.01°)
OKLaboklab(52.15% 0.0777 -0.1601)
OKLCHoklch(52.15% 0.178 295.9)
XYZxyz(19.5873, 12.7087, 52.4495)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BC2 #98C24B
analogous
#4B5DC2 #754BC2 #B04BC2
triadic
#754BC2 #C2754B #4BC275
tetradic
#754BC2 #C24B5D #98C24B #4BC2B0
square
#754BC2 #C24B5D #98C24B #4BC2B0
split-complementary
#754BC2 #C2B04B #5DC24B
monochromatic
#3F256D #59359B #754BC2 #9879D1 #BBA6E1

Accessibility & contrast

On white

5.93
#754BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#754BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BC2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BC2#FFFFFF#000000##FFFFFF
##754BC21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0A62BF
Tritanopia (blue-blind)
#62657F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754bc2;
/* rgb */ color: rgb(117, 75, 194);
/* oklch */ color: oklch(52.2% 0.178 295.9);
Tailwind
colors: {
  custom: {
    50: '#a27fd5',
    500: '#754bc2',
    950: '#000000',
  },
}
SCSS
$custom: #754bc2;
$custom-light: #a27fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#754bc2",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 261.176,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52155,
    "c": 0.17796,
    "h": 295.9
  },
  "luminance": 0.12709
}

Semantic roles & 50–950 ramp

primary
#754BC2
secondary
#BCCE9B
accent
#D94FA8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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