#754DDC#754DDC

#754DDC is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.4% C 0.207 H 290.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#754DDC
RGBrgb(117, 77, 220)
HSLhsl(257, 67%, 58%)
HSVhsv(257, 65%, 86%)
CMYKcmyk(46.8%, 65%, 0%, 13.7%)
CIE-LABlab(44.60, 49.95, -67.51)
CIE-LCHlch(44.60, 83.98, 306.50°)
OKLaboklab(54.4% 0.0733 -0.1933)
OKLCHoklch(54.4% 0.207 290.8)
XYZxyz(22.9046, 14.2561, 69.2411)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DDC #B4DC4D
analogous
#4D6CDC #754DDC #BC4DDC
triadic
#754DDC #DC754D #4DDC75
tetradic
#754DDC #DC4D6C #B4DC4D #4DDCBC
square
#754DDC #DC4D6C #B4DC4D #4DDCBC
split-complementary
#754DDC #DCBC4D #6CDC4D
monochromatic
#3D1D92 #5327C5 #754DDC #9D80E6 #C4B3F0

Accessibility & contrast

On white

5.45
#754DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#754DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754DDC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DDC#FFFFFF#000000##FFFFFF
##754DDC1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#54708E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #754ddc;
/* rgb */ color: rgb(117, 77, 220);
/* oklch */ color: oklch(54.4% 0.207 290.8);
Tailwind
colors: {
  custom: {
    50: '#a581e8',
    500: '#754ddc',
    950: '#000000',
  },
}
SCSS
$custom: #754ddc;
$custom-light: #a581e8;
$custom-dark: #000000;
JSON
{
  "hex": "#754ddc",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 256.783,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54395,
    "c": 0.20669,
    "h": 290.8
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#754DDC
secondary
#CFDFA6
accent
#EA3EBA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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