#742FBD#742FBD

#742FBD is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.207 H 300.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#742FBD
RGBrgb(116, 47, 189)
HSLhsl(269, 60%, 46%)
HSVhsv(269, 75%, 74%)
CMYKcmyk(38.6%, 75.1%, 0%, 25.9%)
CIE-LABlab(36.78, 56.41, -62.30)
CIE-LCHlch(36.78, 84.05, 312.16°)
OKLaboklab(48.04% 0.106 -0.1779)
OKLCHoklch(48.04% 0.207 300.8)
XYZxyz(17.4020, 9.4200, 49.0357)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742FBD #78BD2F
analogous
#2F31BD #742FBD #BB2FBD
triadic
#742FBD #BD742F #2FBD74
tetradic
#742FBD #BD2F31 #78BD2F #2FBDBB
square
#742FBD #BD2F31 #78BD2F #2FBDBB
split-complementary
#742FBD #BDBB2F #31BD2F
monochromatic
#38175B #56238C #742FBD #9355D5 #B286E1

Accessibility & contrast

On white

7.28
#742FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#742FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742FBD
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742FBD#FFFFFF#000000##FFFFFF
##742FBD1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#645474
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #742fbd;
/* rgb */ color: rgb(116, 47, 189);
/* oklch */ color: oklch(48.0% 0.207 300.8);
Tailwind
colors: {
  custom: {
    50: '#a26fd2',
    500: '#742fbd',
    950: '#000000',
  },
}
SCSS
$custom: #742fbd;
$custom-light: #a26fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#742fbd",
  "rgb": {
    "r": 116,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 269.155,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48043,
    "c": 0.20708,
    "h": 300.8
  },
  "luminance": 0.0942
}

Semantic roles & 50–950 ramp

primary
#742FBD
secondary
#A5CA7E
accent
#E34496
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #742FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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