#754FC8#754FC8

#754FC8 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.180 H 293.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#754FC8
RGBrgb(117, 79, 200)
HSLhsl(259, 52%, 55%)
HSVhsv(259, 61%, 78%)
CMYKcmyk(41.5%, 60.5%, 0%, 21.6%)
CIE-LABlab(43.57, 43.35, -57.69)
CIE-LCHlch(43.57, 72.16, 306.92°)
OKLaboklab(53.2% 0.0728 -0.1644)
OKLCHoklch(53.2% 0.18 293.9)
XYZxyz(20.5546, 13.5435, 56.1636)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FC8 #A2C84F
analogous
#4F66C8 #754FC8 #B24FC8
triadic
#754FC8 #C8754F #4FC875
tetradic
#754FC8 #C84F66 #A2C84F #4FC8B2
square
#754FC8 #C84F66 #A2C84F #4FC8B2
split-complementary
#754FC8 #C8B24F #66C84F
monochromatic
#3F2577 #5834A6 #754FC8 #9A7ED7 #BEACE5

Accessibility & contrast

On white

5.66
#754FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#754FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FC8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FC8#FFFFFF#000000##FFFFFF
##754FC81.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0365C5
Tritanopia (blue-blind)
#5F6A84
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #754fc8;
/* rgb */ color: rgb(117, 79, 200);
/* oklch */ color: oklch(53.2% 0.180 293.9);
Tailwind
colors: {
  custom: {
    50: '#a282d9',
    500: '#754fc8',
    950: '#000000',
  },
}
SCSS
$custom: #754fc8;
$custom-light: #a282d9;
$custom-dark: #000000;
JSON
{
  "hex": "#754fc8",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 258.843,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53197,
    "c": 0.17979,
    "h": 293.9
  },
  "luminance": 0.13544
}

Semantic roles & 50–950 ramp

primary
#754FC8
secondary
#C3D3A0
accent
#DC4CAF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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