#754FCA#754FCA

#754FCA is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.182 H 293.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#754FCA
RGBrgb(117, 79, 202)
HSLhsl(259, 54%, 55%)
HSVhsv(259, 61%, 79%)
CMYKcmyk(42.1%, 60.9%, 0%, 20.8%)
CIE-LABlab(43.71, 43.90, -58.62)
CIE-LCHlch(43.71, 73.23, 306.83°)
OKLaboklab(53.34% 0.0727 -0.1671)
OKLCHoklch(53.34% 0.182 293.5)
XYZxyz(20.7899, 13.6376, 57.4026)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FCA #A4CA4F
analogous
#4F66CA #754FCA #B34FCA
triadic
#754FCA #CA754F #4FCA75
tetradic
#754FCA #CA4F66 #A4CA4F #4FCAB3
square
#754FCA #CA4F66 #A4CA4F #4FCAB3
split-complementary
#754FCA #CAB34F #66CA4F
monochromatic
#3F257A #5733A9 #754FCA #9A7ED8 #BFADE6

Accessibility & contrast

On white

5.63
#754FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#754FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FCA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FCA#FFFFFF#000000##FFFFFF
##754FCA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#5E6B85
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #754fca;
/* rgb */ color: rgb(117, 79, 202);
/* oklch */ color: oklch(53.3% 0.182 293.5);
Tailwind
colors: {
  custom: {
    50: '#a282db',
    500: '#754fca',
    950: '#000000',
  },
}
SCSS
$custom: #754fca;
$custom-light: #a282db;
$custom-dark: #000000;
JSON
{
  "hex": "#754fca",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 258.537,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53341,
    "c": 0.18226,
    "h": 293.5
  },
  "luminance": 0.13638
}

Semantic roles & 50–950 ramp

primary
#754FCA
secondary
#C4D4A1
accent
#DD4BB0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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