#B74DF2#B74DF2

#B74DF2 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 63.2% C 0.241 H 310.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B74DF2
RGBrgb(183, 77, 242)
HSLhsl(279, 86%, 63%)
HSVhsv(279, 68%, 95%)
CMYKcmyk(24.4%, 68.2%, 0%, 5.1%)
CIE-LABlab(53.80, 68.15, -64.66)
CIE-LCHlch(53.80, 93.94, 316.50°)
OKLaboklab(63.17% 0.1576 -0.1828)
OKLCHoklch(63.17% 0.241 310.8)
XYZxyz(38.2063, 21.7867, 86.1798)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74DF2 #88F24D
analogous
#644DF2 #B74DF2 #F24DDB
triadic
#B74DF2 #F2B74D #4DF2B7
tetradic
#B74DF2 #F2644D #88F24D #4DDBF2
square
#B74DF2 #F2644D #88F24D #4DDBF2
split-complementary
#B74DF2 #DBF24D #4DF264
monochromatic
#7A0DB7 #A014EE #B74DF2 #CE86F6 #E5BFFA

Accessibility & contrast

On white

3.92
#B74DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#B74DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74DF2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74DF2#FFFFFF#000000##000000
##B74DF21.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#3582EE
Tritanopia (blue-blind)
#AF709A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b74df2;
/* rgb */ color: rgb(183, 77, 242);
/* oklch */ color: oklch(63.2% 0.241 310.8);
Tailwind
colors: {
  custom: {
    50: '#d187f7',
    500: '#b74df2',
    950: '#000000',
  },
}
SCSS
$custom: #b74df2;
$custom-light: #d187f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b74df2",
  "rgb": {
    "r": 183,
    "g": 77,
    "b": 242
  },
  "hsl": {
    "h": 278.545,
    "s": 86.387,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63173,
    "c": 0.24131,
    "h": 310.8
  },
  "luminance": 0.21786
}

Semantic roles & 50–950 ramp

primary
#B74DF2
secondary
#C5EBAF
accent
#E30353
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B74DF2

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

Preview Lab → · Contrast checker → · Palette generator →

#B74DF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva