#754BCB#754BCB

#754BCB is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.189 H 294.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#754BCB
RGBrgb(117, 75, 203)
HSLhsl(260, 55%, 55%)
HSVhsv(260, 63%, 80%)
CMYKcmyk(42.4%, 63.1%, 0%, 20.4%)
CIE-LABlab(42.95, 46.38, -60.42)
CIE-LCHlch(42.95, 76.17, 307.51°)
OKLaboklab(52.81% 0.077 -0.1724)
OKLCHoklch(52.81% 0.189 294.1)
XYZxyz(20.6288, 13.1253, 57.9349)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BCB #A1CB4B
analogous
#4B61CB #754BCB #B54BCB
triadic
#754BCB #CB754B #4BCB75
tetradic
#754BCB #CB4B61 #A1CB4B #4BCBB5
square
#754BCB #CB4B61 #A1CB4B #4BCBB5
split-complementary
#754BCB #CBB54B #61CB4B
monochromatic
#3F2379 #5831A8 #754BCB #997AD9 #BEAAE6

Accessibility & contrast

On white

5.79
#754BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#754BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BCB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BCB#FFFFFF#000000##FFFFFF
##754BCB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#5E6884
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754bcb;
/* rgb */ color: rgb(117, 75, 203);
/* oklch */ color: oklch(52.8% 0.189 294.1);
Tailwind
colors: {
  custom: {
    50: '#a37fdc',
    500: '#754bcb',
    950: '#000000',
  },
}
SCSS
$custom: #754bcb;
$custom-light: #a37fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#754bcb",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 259.688,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52813,
    "c": 0.18888,
    "h": 294.1
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#754BCB
secondary
#C2D49E
accent
#DF49AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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