#B74CE4#B74CE4

#B74CE4 is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.2% C 0.229 H 314.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B74CE4
RGBrgb(183, 76, 228)
HSLhsl(282, 74%, 60%)
HSVhsv(282, 67%, 89%)
CMYKcmyk(19.7%, 66.7%, 0%, 10.6%)
CIE-LABlab(52.77, 65.71, -58.45)
CIE-LCHlch(52.77, 87.95, 318.35°)
OKLaboklab(62.16% 0.1598 -0.1645)
OKLCHoklch(62.16% 0.229 314.2)
XYZxyz(36.1141, 20.8388, 75.5036)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74CE4 #79E44C
analogous
#6B4CE4 #B74CE4 #E44CC5
triadic
#B74CE4 #E4B74C #4CE4B7
tetradic
#B74CE4 #E46B4C #79E44C #4CC5E4
square
#B74CE4 #E46B4C #79E44C #4CC5E4
split-complementary
#B74CE4 #C5E44C #4CE46B
monochromatic
#76189E #9E20D3 #B74CE4 #CC81EC #E2B6F4

Accessibility & contrast

On white

4.06
#B74CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B74CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74CE4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74CE4#FFFFFF#000000##000000
##B74CE41.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#4581E1
Tritanopia (blue-blind)
#B36A92
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b74ce4;
/* rgb */ color: rgb(183, 76, 228);
/* oklch */ color: oklch(62.2% 0.229 314.2);
Tailwind
colors: {
  custom: {
    50: '#d186ed',
    500: '#b74ce4',
    950: '#000000',
  },
}
SCSS
$custom: #b74ce4;
$custom-light: #d186ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ce4",
  "rgb": {
    "r": 183,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 282.237,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62158,
    "c": 0.22936,
    "h": 314.2
  },
  "luminance": 0.20838
}

Semantic roles & 50–950 ramp

primary
#B74CE4
secondary
#BAE3A8
accent
#F0376E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B74CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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