#754BCA#754BCA

#754BCA is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.188 H 294.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#754BCA
RGBrgb(117, 75, 202)
HSLhsl(260, 55%, 54%)
HSVhsv(260, 63%, 79%)
CMYKcmyk(42.1%, 62.9%, 0%, 20.8%)
CIE-LABlab(42.88, 46.11, -59.96)
CIE-LCHlch(42.88, 75.64, 307.56°)
OKLaboklab(52.74% 0.0771 -0.1711)
OKLCHoklch(52.74% 0.188 294.3)
XYZxyz(20.5100, 13.0778, 57.3093)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BCA #A0CA4B
analogous
#4B61CA #754BCA #B54BCA
triadic
#754BCA #CA754B #4BCA75
tetradic
#754BCA #CA4B61 #A0CA4B #4BCAB5
square
#754BCA #CA4B61 #A0CA4B #4BCAB5
split-complementary
#754BCA #CAB54B #61CA4B
monochromatic
#3F2377 #5831A7 #754BCA #997AD8 #BDAAE6

Accessibility & contrast

On white

5.81
#754BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#754BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BCA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BCA#FFFFFF#000000##FFFFFF
##754BCA1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#5E6884
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754bca;
/* rgb */ color: rgb(117, 75, 202);
/* oklch */ color: oklch(52.7% 0.188 294.3);
Tailwind
colors: {
  custom: {
    50: '#a37fdb',
    500: '#754bca',
    950: '#000000',
  },
}
SCSS
$custom: #754bca;
$custom-light: #a37fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#754bca",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 259.843,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52739,
    "c": 0.18768,
    "h": 294.3
  },
  "luminance": 0.13078
}

Semantic roles & 50–950 ramp

primary
#754BCA
secondary
#C2D39D
accent
#DE4AAD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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