#754EC2#754EC2

#754EC2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.174 H 295.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#754EC2
RGBrgb(117, 78, 194)
HSLhsl(260, 49%, 53%)
HSVhsv(260, 60%, 76%)
CMYKcmyk(39.7%, 59.8%, 0%, 23.9%)
CIE-LABlab(42.95, 42.28, -55.21)
CIE-LCHlch(42.95, 69.54, 307.44°)
OKLaboklab(52.62% 0.0742 -0.1571)
OKLCHoklch(52.62% 0.174 295.3)
XYZxyz(19.7956, 13.1253, 52.5190)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EC2 #9BC24E
analogous
#4E61C2 #754EC2 #AF4EC2
triadic
#754EC2 #C2754E #4EC275
tetradic
#754EC2 #C24E61 #9BC24E #4EC2AF
square
#754EC2 #C24E61 #9BC24E #4EC2AF
split-complementary
#754EC2 #C2AF4E #61C24E
monochromatic
#3F266F #59369D #754EC2 #987CD2 #BCA9E1

Accessibility & contrast

On white

5.79
#754EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#754EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EC2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EC2#FFFFFF#000000##FFFFFF
##754EC21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#1664BF
Tritanopia (blue-blind)
#626780
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754ec2;
/* rgb */ color: rgb(117, 78, 194);
/* oklch */ color: oklch(52.6% 0.174 295.3);
Tailwind
colors: {
  custom: {
    50: '#a281d5',
    500: '#754ec2',
    950: '#000000',
  },
}
SCSS
$custom: #754ec2;
$custom-light: #a281d5;
$custom-dark: #000000;
JSON
{
  "hex": "#754ec2",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 260.172,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52615,
    "c": 0.17375,
    "h": 295.3
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#754EC2
secondary
#BECF9D
accent
#D850AA
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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