#754FC2#754FC2

#754FC2 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.172 H 295.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#754FC2
RGBrgb(117, 79, 194)
HSLhsl(260, 49%, 54%)
HSVhsv(260, 59%, 76%)
CMYKcmyk(39.7%, 59.3%, 0%, 23.9%)
CIE-LABlab(43.17, 41.71, -54.86)
CIE-LCHlch(43.17, 68.92, 307.25°)
OKLaboklab(52.77% 0.073 -0.1561)
OKLCHoklch(52.77% 0.172 295.1)
XYZxyz(19.8671, 13.2685, 52.5428)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FC2 #9CC24F
analogous
#4F62C2 #754FC2 #AE4FC2
triadic
#754FC2 #C2754F #4FC275
tetradic
#754FC2 #C24F62 #9CC24F #4FC2AE
square
#754FC2 #C24F62 #9CC24F #4FC2AE
split-complementary
#754FC2 #C2AE4F #62C24F
monochromatic
#3F2770 #58379D #754FC2 #997CD2 #BCAAE2

Accessibility & contrast

On white

5.75
#754FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#754FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FC2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FC2#FFFFFF#000000##FFFFFF
##754FC21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#1964BF
Tritanopia (blue-blind)
#626881
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #754fc2;
/* rgb */ color: rgb(117, 79, 194);
/* oklch */ color: oklch(52.8% 0.172 295.1);
Tailwind
colors: {
  custom: {
    50: '#a282d5',
    500: '#754fc2',
    950: '#000000',
  },
}
SCSS
$custom: #754fc2;
$custom-light: #a282d5;
$custom-dark: #000000;
JSON
{
  "hex": "#754fc2",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 259.826,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52771,
    "c": 0.17232,
    "h": 295.1
  },
  "luminance": 0.13269
}

Semantic roles & 50–950 ramp

primary
#754FC2
secondary
#BFCF9E
accent
#D850AB
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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