#754DC7#754DC7

#754DC7 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.181 H 294.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#754DC7
RGBrgb(117, 77, 199)
HSLhsl(260, 52%, 54%)
HSVhsv(260, 61%, 78%)
CMYKcmyk(41.2%, 61.3%, 0%, 22%)
CIE-LABlab(43.08, 44.19, -57.90)
CIE-LCHlch(43.08, 72.84, 307.35°)
OKLaboklab(52.82% 0.0751 -0.165)
OKLCHoklch(52.82% 0.181 294.5)
XYZxyz(20.2961, 13.2127, 55.5027)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DC7 #9FC74D
analogous
#4D62C7 #754DC7 #B24DC7
triadic
#754DC7 #C7754D #4DC775
tetradic
#754DC7 #C74D62 #9FC74D #4DC7B2
square
#754DC7 #C74D62 #9FC74D #4DC7B2
split-complementary
#754DC7 #C7B24D #62C74D
monochromatic
#3F2575 #5833A3 #754DC7 #997CD6 #BDAAE4

Accessibility & contrast

On white

5.77
#754DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#754DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754DC7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DC7#FFFFFF#000000##FFFFFF
##754DC71.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#0064C4
Tritanopia (blue-blind)
#5F6883
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #754dc7;
/* rgb */ color: rgb(117, 77, 199);
/* oklch */ color: oklch(52.8% 0.181 294.5);
Tailwind
colors: {
  custom: {
    50: '#a281d9',
    500: '#754dc7',
    950: '#000000',
  },
}
SCSS
$custom: #754dc7;
$custom-light: #a281d9;
$custom-dark: #000000;
JSON
{
  "hex": "#754dc7",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 259.672,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52819,
    "c": 0.18131,
    "h": 294.5
  },
  "luminance": 0.13213
}

Semantic roles & 50–950 ramp

primary
#754DC7
secondary
#C1D29E
accent
#DC4CAD
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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