#B74FEC#B74FEC

#B74FEC is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 63.0% C 0.233 H 312.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B74FEC
RGBrgb(183, 79, 236)
HSLhsl(280, 81%, 62%)
HSVhsv(280, 67%, 93%)
CMYKcmyk(22.5%, 66.5%, 0%, 7.5%)
CIE-LABlab(53.72, 66.06, -61.42)
CIE-LCHlch(53.72, 90.20, 317.08°)
OKLaboklab(63% 0.156 -0.1733)
OKLCHoklch(63% 0.233 312)
XYZxyz(37.4620, 21.7164, 81.5589)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74FEC #84EC4F
analogous
#694FEC #B74FEC #EC4FD3
triadic
#B74FEC #ECB74F #4FECB7
tetradic
#B74FEC #EC694F #84EC4F #4FD3EC
square
#B74FEC #EC694F #84EC4F #4FD3EC
split-complementary
#B74FEC #D3EC4F #4FEC69
monochromatic
#7913AE #A019E5 #B74FEC #CE86F2 #E4BDF8

Accessibility & contrast

On white

3.93
#B74FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#B74FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74FEC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74FEC#FFFFFF#000000##000000
##B74FEC1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#3F82E8
Tritanopia (blue-blind)
#B16F97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b74fec;
/* rgb */ color: rgb(183, 79, 236);
/* oklch */ color: oklch(63.0% 0.233 312.0);
Tailwind
colors: {
  custom: {
    50: '#d187f3',
    500: '#b74fec',
    950: '#000000',
  },
}
SCSS
$custom: #b74fec;
$custom-light: #d187f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b74fec",
  "rgb": {
    "r": 183,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 279.745,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62999,
    "c": 0.23316,
    "h": 312
  },
  "luminance": 0.21715
}

Semantic roles & 50–950 ramp

primary
#B74FEC
secondary
#C2E8AE
accent
#DD0950
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B74FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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