#742BB3#742BB3

#742BB3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.201 H 303.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#742BB3
RGBrgb(116, 43, 179)
HSLhsl(272, 61%, 44%)
HSVhsv(272, 76%, 70%)
CMYKcmyk(35.2%, 76%, 0%, 29.8%)
CIE-LABlab(35.39, 55.71, -58.65)
CIE-LCHlch(35.39, 80.90, 313.53°)
OKLaboklab(46.82% 0.1119 -0.1671)
OKLCHoklch(46.82% 0.201 303.8)
XYZxyz(16.2011, 8.6955, 43.4640)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742BB3 #6AB32B
analogous
#302BB3 #742BB3 #B32BAE
triadic
#742BB3 #B3742B #2BB374
tetradic
#742BB3 #B3302B #6AB32B #2BAEB3
square
#742BB3 #B3302B #6AB32B #2BAEB3
split-complementary
#742BB3 #AEB32B #2BB330
monochromatic
#341350 #541F82 #742BB3 #9348D3 #B079DF

Accessibility & contrast

On white

7.67
#742BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#742BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742BB3
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742BB3#FFFFFF#000000##FFFFFF
##742BB31.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#674E6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #742bb3;
/* rgb */ color: rgb(116, 43, 179);
/* oklch */ color: oklch(46.8% 0.201 303.8);
Tailwind
colors: {
  custom: {
    50: '#a26ccb',
    500: '#742bb3',
    950: '#000000',
  },
}
SCSS
$custom: #742bb3;
$custom-light: #a26ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#742bb3",
  "rgb": {
    "r": 116,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 272.206,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46816,
    "c": 0.20113,
    "h": 303.8
  },
  "luminance": 0.08695
}

Semantic roles & 50–950 ramp

primary
#742BB3
secondary
#9AC773
accent
#E4438E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #742BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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