#754BBB#754BBB

#754BBB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.7% C 0.169 H 297.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#754BBB
RGBrgb(117, 75, 187)
HSLhsl(263, 45%, 51%)
HSVhsv(263, 60%, 73%)
CMYKcmyk(37.4%, 59.9%, 0%, 26.7%)
CIE-LABlab(41.85, 42.08, -52.91)
CIE-LCHlch(41.85, 67.60, 308.50°)
OKLaboklab(51.66% 0.078 -0.1503)
OKLCHoklch(51.66% 0.169 297.4)
XYZxyz(18.8196, 12.4016, 48.4063)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BBB #91BB4B
analogous
#4B59BB #754BBB #AD4BBB
triadic
#754BBB #BB754B #4BBB75
tetradic
#754BBB #BB4B59 #91BB4B #4BBBAD
square
#754BBB #BB4B59 #91BB4B #4BBBAD
split-complementary
#754BBB #BBAD4B #59BB4B
monochromatic
#3E2665 #593792 #754BBB #9777CC #B9A4DD

Accessibility & contrast

On white

6.03
#754BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#754BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BBB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BBB#FFFFFF#000000##FFFFFF
##754BBB1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#1D61B9
Tritanopia (blue-blind)
#65637C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754bbb;
/* rgb */ color: rgb(117, 75, 187);
/* oklch */ color: oklch(51.7% 0.169 297.4);
Tailwind
colors: {
  custom: {
    50: '#a17fd0',
    500: '#754bbb',
    950: '#000000',
  },
}
SCSS
$custom: #754bbb;
$custom-light: #a17fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#754bbb",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 262.5,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51659,
    "c": 0.16936,
    "h": 297.4
  },
  "luminance": 0.12402
}

Semantic roles & 50–950 ramp

primary
#754BBB
secondary
#B7CA98
accent
#D553A4
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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