#742BCA#742BCA

#742BCA is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.224 H 298.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#742BCA
RGBrgb(116, 43, 202)
HSLhsl(268, 65%, 48%)
HSVhsv(268, 79%, 79%)
CMYKcmyk(42.6%, 78.7%, 0%, 20.8%)
CIE-LABlab(37.31, 61.16, -69.05)
CIE-LCHlch(37.31, 92.24, 311.53°)
OKLaboklab(48.75% 0.1058 -0.1977)
OKLCHoklch(48.75% 0.224 298.2)
XYZxyz(18.7242, 9.7047, 56.7524)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742BCA #81CA2B
analogous
#2B32CA #742BCA #C32BCA
triadic
#742BCA #CA742B #2BCA74
tetradic
#742BCA #CA2B32 #81CA2B #2BCAC3
square
#742BCA #CA2B32 #81CA2B #2BCAC3
split-complementary
#742BCA #CAC32B #32CA2B
monochromatic
#3A1665 #572098 #742BCA #9457DB #B489E6

Accessibility & contrast

On white

7.14
#742BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#742BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742BCA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742BCA#FFFFFF#000000##FFFFFF
##742BCA1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#5E577B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #742bca;
/* rgb */ color: rgb(116, 43, 202);
/* oklch */ color: oklch(48.7% 0.224 298.2);
Tailwind
colors: {
  custom: {
    50: '#a46ddb',
    500: '#742bca',
    950: '#000000',
  },
}
SCSS
$custom: #742bca;
$custom-light: #a46ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#742bca",
  "rgb": {
    "r": 116,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 267.547,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48748,
    "c": 0.2242,
    "h": 298.2
  },
  "luminance": 0.09705
}

Semantic roles & 50–950 ramp

primary
#742BCA
secondary
#ACD081
accent
#E8409B
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #742BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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