#754FCB#754FCB

#754FCB is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.183 H 293.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#754FCB
RGBrgb(117, 79, 203)
HSLhsl(258, 54%, 55%)
HSVhsv(258, 61%, 80%)
CMYKcmyk(42.4%, 61.1%, 0%, 20.4%)
CIE-LABlab(43.78, 44.17, -59.09)
CIE-LCHlch(43.78, 73.77, 306.78°)
OKLaboklab(53.41% 0.0726 -0.1685)
OKLCHoklch(53.41% 0.184 293.3)
XYZxyz(20.9087, 13.6851, 58.0282)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FCB #A5CB4F
analogous
#4F67CB #754FCB #B34FCB
triadic
#754FCB #CB754F #4FCB75
tetradic
#754FCB #CB4F67 #A5CB4F #4FCBB3
square
#754FCB #CB4F67 #A5CB4F #4FCBB3
split-complementary
#754FCB #CBB34F #67CB4F
monochromatic
#3F247B #5732AA #754FCB #9A7ED9 #BFADE7

Accessibility & contrast

On white

5.62
#754FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#754FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FCB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FCB#FFFFFF#000000##FFFFFF
##754FCB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#5D6B85
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #754fcb;
/* rgb */ color: rgb(117, 79, 203);
/* oklch */ color: oklch(53.4% 0.183 293.3);
Tailwind
colors: {
  custom: {
    50: '#a382dc',
    500: '#754fcb',
    950: '#000000',
  },
}
SCSS
$custom: #754fcb;
$custom-light: #a382dc;
$custom-dark: #000000;
JSON
{
  "hex": "#754fcb",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 258.387,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53414,
    "c": 0.1835,
    "h": 293.3
  },
  "luminance": 0.13686
}

Semantic roles & 50–950 ramp

primary
#754FCB
secondary
#C5D5A1
accent
#DE4AB0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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