#754FDB#754FDB

#754FDB is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.6% C 0.203 H 290.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#754FDB
RGBrgb(117, 79, 219)
HSLhsl(256, 66%, 58%)
HSVhsv(256, 64%, 86%)
CMYKcmyk(46.6%, 63.9%, 0%, 14.1%)
CIE-LABlab(44.92, 48.59, -66.41)
CIE-LCHlch(44.92, 82.29, 306.19°)
OKLaboklab(54.61% 0.0713 -0.19)
OKLCHoklch(54.61% 0.203 290.6)
XYZxyz(22.9147, 14.4875, 68.5931)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FDB #B5DB4F
analogous
#4F6FDB #754FDB #BB4FDB
triadic
#754FDB #DB754F #4FDB75
tetradic
#754FDB #DB4F6F #B5DB4F #4FDBBB
square
#754FDB #DB4F6F #B5DB4F #4FDBBB
split-complementary
#754FDB #DBBB4F #6FDB4F
monochromatic
#3D1E92 #5328C5 #754FDB #9D82E5 #C5B5F0

Accessibility & contrast

On white

5.39
#754FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#754FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FDB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FDB#FFFFFF#000000##FFFFFF
##754FDB1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#55708E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #754fdb;
/* rgb */ color: rgb(117, 79, 219);
/* oklch */ color: oklch(54.6% 0.203 290.6);
Tailwind
colors: {
  custom: {
    50: '#a482e7',
    500: '#754fdb',
    950: '#000000',
  },
}
SCSS
$custom: #754fdb;
$custom-light: #a482e7;
$custom-dark: #000000;
JSON
{
  "hex": "#754fdb",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 256.286,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.203,
    "h": 290.6
  },
  "luminance": 0.14488
}

Semantic roles & 50–950 ramp

primary
#754FDB
secondary
#D0DFA7
accent
#E93FBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #754FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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