#754FD2#754FD2

#754FD2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.192 H 292.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#754FD2
RGBrgb(117, 79, 210)
HSLhsl(257, 59%, 57%)
HSVhsv(257, 62%, 82%)
CMYKcmyk(44.3%, 62.4%, 0%, 17.6%)
CIE-LABlab(44.27, 46.10, -62.32)
CIE-LCHlch(44.27, 77.51, 306.49°)
OKLaboklab(53.93% 0.0721 -0.178)
OKLCHoklch(53.93% 0.192 292.1)
XYZxyz(21.7617, 14.0263, 62.5210)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FD2 #ACD24F
analogous
#4F6BD2 #754FD2 #B74FD2
triadic
#754FD2 #D2754F #4FD275
tetradic
#754FD2 #D24F6B #ACD24F #4FD2B7
square
#754FD2 #D24F6B #ACD24F #4FD2B7
split-complementary
#754FD2 #D2B74F #6BD24F
monochromatic
#3F2285 #562EB5 #754FD2 #9B80DE #C1B0EB

Accessibility & contrast

On white

5.52
#754FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#754FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FD2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FD2#FFFFFF#000000##FFFFFF
##754FD21.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#5A6D89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #754fd2;
/* rgb */ color: rgb(117, 79, 210);
/* oklch */ color: oklch(53.9% 0.192 292.1);
Tailwind
colors: {
  custom: {
    50: '#a382e1',
    500: '#754fd2',
    950: '#000000',
  },
}
SCSS
$custom: #754fd2;
$custom-light: #a382e1;
$custom-dark: #000000;
JSON
{
  "hex": "#754fd2",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 257.405,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53928,
    "c": 0.19208,
    "h": 292.1
  },
  "luminance": 0.14027
}

Semantic roles & 50–950 ramp

primary
#754FD2
secondary
#CAD9A4
accent
#E245B5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #754FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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