#754FCF#754FCF

#754FCF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.188 H 292.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#754FCF
RGBrgb(117, 79, 207)
HSLhsl(258, 57%, 56%)
HSVhsv(258, 62%, 81%)
CMYKcmyk(43.5%, 61.8%, 0%, 18.8%)
CIE-LABlab(44.06, 45.27, -60.94)
CIE-LCHlch(44.06, 75.91, 306.61°)
OKLaboklab(53.71% 0.0724 -0.174)
OKLCHoklch(53.71% 0.188 292.6)
XYZxyz(21.3915, 13.8782, 60.5711)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FCF #A9CF4F
analogous
#4F69CF #754FCF #B54FCF
triadic
#754FCF #CF754F #4FCF75
tetradic
#754FCF #CF4F69 #A9CF4F #4FCFB5
square
#754FCF #CF4F69 #A9CF4F #4FCFB5
split-complementary
#754FCF #CFB54F #69CF4F
monochromatic
#3F2381 #5630B1 #754FCF #9B7FDC #C0AFE9

Accessibility & contrast

On white

5.56
#754FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#754FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FCF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FCF#FFFFFF#000000##FFFFFF
##754FCF1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#5B6C88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #754fcf;
/* rgb */ color: rgb(117, 79, 207);
/* oklch */ color: oklch(53.7% 0.188 292.6);
Tailwind
colors: {
  custom: {
    50: '#a382de',
    500: '#754fcf',
    950: '#000000',
  },
}
SCSS
$custom: #754fcf;
$custom-light: #a382de;
$custom-dark: #000000;
JSON
{
  "hex": "#754fcf",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 257.813,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53706,
    "c": 0.18842,
    "h": 292.6
  },
  "luminance": 0.13879
}

Semantic roles & 50–950 ramp

primary
#754FCF
secondary
#C8D7A2
accent
#E047B3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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