#742FCA#742FCA

#742FCA is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.220 H 297.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#742FCA
RGBrgb(116, 47, 202)
HSLhsl(267, 62%, 49%)
HSVhsv(267, 77%, 79%)
CMYKcmyk(42.6%, 76.7%, 0%, 20.8%)
CIE-LABlab(37.86, 59.56, -68.14)
CIE-LCHlch(37.86, 90.50, 311.16°)
OKLaboklab(49.13% 0.1027 -0.195)
OKLCHoklch(49.13% 0.22 297.8)
XYZxyz(18.8769, 10.0100, 56.8032)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742FCA #85CA2F
analogous
#2F37CA #742FCA #C22FCA
triadic
#742FCA #CA742F #2FCA74
tetradic
#742FCA #CA2F37 #85CA2F #2FCAC2
square
#742FCA #CA2F37 #85CA2F #2FCAC2
split-complementary
#742FCA #CAC22F #37CA2F
monochromatic
#3B1867 #572398 #742FCA #945DD9 #B58FE5

Accessibility & contrast

On white

7.00
#742FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#742FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #742FCA
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742FCA#FFFFFF#000000##FFFFFF
##742FCA1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#5E597C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #742fca;
/* rgb */ color: rgb(116, 47, 202);
/* oklch */ color: oklch(49.1% 0.220 297.8);
Tailwind
colors: {
  custom: {
    50: '#a46fdb',
    500: '#742fca',
    950: '#000000',
  },
}
SCSS
$custom: #742fca;
$custom-light: #a46fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#742fca",
  "rgb": {
    "r": 116,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 266.71,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49134,
    "c": 0.22044,
    "h": 297.8
  },
  "luminance": 0.1001
}

Semantic roles & 50–950 ramp

primary
#742FCA
secondary
#AECF86
accent
#E5429D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #742FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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