#754DBC#754DBC

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

Color values

HEX#754DBC
RGBrgb(117, 77, 188)
HSLhsl(262, 45%, 52%)
HSVhsv(262, 59%, 74%)
CMYKcmyk(37.8%, 59%, 0%, 26.3%)
CIE-LABlab(42.34, 41.23, -52.70)
CIE-LCHlch(42.34, 66.91, 308.04°)
OKLaboklab(52.04% 0.0755 -0.1497)
OKLCHoklch(52.04% 0.168 296.8)
XYZxyz(19.0648, 12.7202, 49.0180)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DBC #94BC4D
analogous
#4D5DBC #754DBC #AD4DBC
triadic
#754DBC #BC754D #4DBC75
tetradic
#754DBC #BC4D5D #94BC4D #4DBCAD
square
#754DBC #BC4D5D #94BC4D #4DBCAD
split-complementary
#754DBC #BCAD4D #5DBC4D
monochromatic
#3E2768 #593894 #754DBC #9779CD #BAA6DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##754DBC#FFFFFF#000000##FFFFFF
##754DBC1.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)
#0764C0
Deuteranopia (green-blind)
#2063BA
Tritanopia (blue-blind)
#64657D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754dbc;
/* rgb */ color: rgb(117, 77, 188);
/* oklch */ color: oklch(52.0% 0.168 296.8);
Tailwind
colors: {
  custom: {
    50: '#a180d1',
    500: '#754dbc',
    950: '#000000',
  },
}
SCSS
$custom: #754dbc;
$custom-light: #a180d1;
$custom-dark: #000000;
JSON
{
  "hex": "#754dbc",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 261.622,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.16771,
    "h": 296.8
  },
  "luminance": 0.12721
}

Semantic roles & 50–950 ramp

primary
#754DBC
secondary
#B9CB9A
accent
#D553A6
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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