#754CE8#754CE8

#754CE8 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.222 H 289.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#754CE8
RGBrgb(117, 76, 232)
HSLhsl(256, 77%, 60%)
HSVhsv(256, 67%, 91%)
CMYKcmyk(49.6%, 67.2%, 0%, 9%)
CIE-LABlab(45.33, 53.80, -73.14)
CIE-LCHlch(45.33, 90.79, 306.34°)
OKLaboklab(55.21% 0.0726 -0.2098)
OKLCHoklch(55.21% 0.222 289.1)
XYZxyz(24.4818, 14.7759, 77.8904)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CE8 #BFE84C
analogous
#4C71E8 #754CE8 #C34CE8
triadic
#754CE8 #E8754C #4CE875
tetradic
#754CE8 #E84C71 #BFE84C #4CE8C3
square
#754CE8 #E84C71 #BFE84C #4CE8C3
split-complementary
#754CE8 #E8C34C #71E84C
monochromatic
#3B15A4 #4E1CDB #754CE8 #9F82EF #C9B8F6

Accessibility & contrast

On white

5.31
#754CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#754CE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CE8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CE8#FFFFFF#000000##FFFFFF
##754CE81.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0067E5
Tritanopia (blue-blind)
#4D7394
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #754ce8;
/* rgb */ color: rgb(117, 76, 232);
/* oklch */ color: oklch(55.2% 0.222 289.1);
Tailwind
colors: {
  custom: {
    50: '#a681f0',
    500: '#754ce8',
    950: '#000000',
  },
}
SCSS
$custom: #754ce8;
$custom-light: #a681f0;
$custom-dark: #000000;
JSON
{
  "hex": "#754ce8",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 232
  },
  "hsl": {
    "h": 255.769,
    "s": 77.228,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55206,
    "c": 0.22202,
    "h": 289.1
  },
  "luminance": 0.14777
}

Semantic roles & 50–950 ramp

primary
#754CE8
secondary
#D6E6AA
accent
#D90CA3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #754CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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