#B074FB#B074FB

#B074FB is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.196 H 302.0°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B074FB
RGBrgb(176, 116, 251)
HSLhsl(267, 94%, 72%)
HSVhsv(267, 54%, 98%)
CMYKcmyk(29.9%, 53.8%, 0%, 1.6%)
CIE-LABlab(60.50, 49.74, -58.94)
CIE-LCHlch(60.50, 77.12, 310.16°)
OKLaboklab(68.04% 0.1038 -0.1663)
OKLCHoklch(68.04% 0.196 302)
XYZxyz(41.5585, 28.6858, 94.5956)
Luminance0.2869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B074FB #BFFB74
analogous
#747CFB #B074FB #F474FB
triadic
#B074FB #FBB074 #74FBB0
tetradic
#B074FB #FB747C #BFFB74 #74FBF4
square
#B074FB #FB747C #BFFB74 #74FBF4
split-complementary
#B074FB #FBF474 #7CFB74
monochromatic
#6D07EE #8E39F9 #B074FB #D2AFFD #EEE1FE

Accessibility & contrast

On white

3.12
#B074FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#B074FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B074FB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B074FB#FFFFFF#000000##000000
##B074FB1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FF
Deuteranopia (green-blind)
#5591F8
Tritanopia (blue-blind)
#A28EAD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b074fb;
/* rgb */ color: rgb(176, 116, 251);
/* oklch */ color: oklch(68.0% 0.196 302.0);
Tailwind
colors: {
  custom: {
    50: '#cb9efd',
    500: '#b074fb',
    950: '#000000',
  },
}
SCSS
$custom: #b074fb;
$custom-light: #cb9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#b074fb",
  "rgb": {
    "r": 176,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 266.667,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68037,
    "c": 0.19604,
    "h": 302
  },
  "luminance": 0.28686
}

Semantic roles & 50–950 ramp

primary
#B074FB
secondary
#E7F6D4
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B074FB

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

Preview Lab → · Contrast checker → · Palette generator →

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