#B074FD#B074FD

#B074FD is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.2% C 0.198 H 301.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#B074FD
RGBrgb(176, 116, 253)
HSLhsl(266, 97%, 72%)
HSVhsv(266, 54%, 99%)
CMYKcmyk(30.4%, 54.2%, 0%, 0.8%)
CIE-LABlab(60.62, 50.22, -59.86)
CIE-LCHlch(60.62, 78.14, 310.00°)
OKLaboklab(68.16% 0.1038 -0.169)
OKLCHoklch(68.16% 0.198 301.6)
XYZxyz(41.8754, 28.8126, 96.2647)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B074FD #C1FD74
analogous
#747DFD #B074FD #F474FD
triadic
#B074FD #FDB074 #74FDB0
tetradic
#B074FD #FD747D #C1FD74 #74FDF4
square
#B074FD #FD747D #C1FD74 #74FDF4
split-complementary
#B074FD #FDF474 #7DFD74
monochromatic
#6C03F3 #8E38FC #B074FD #D2B0FE #EEE1FF

Accessibility & contrast

On white

3.11
#B074FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#B074FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B074FD
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B074FD#FFFFFF#000000##000000
##B074FD1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E91FF
Deuteranopia (green-blind)
#5392FA
Tritanopia (blue-blind)
#A18FAE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b074fd;
/* rgb */ color: rgb(176, 116, 253);
/* oklch */ color: oklch(68.2% 0.198 301.6);
Tailwind
colors: {
  custom: {
    50: '#cb9eff',
    500: '#b074fd',
    950: '#000000',
  },
}
SCSS
$custom: #b074fd;
$custom-light: #cb9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#b074fd",
  "rgb": {
    "r": 176,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 266.277,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68156,
    "c": 0.19838,
    "h": 301.6
  },
  "luminance": 0.28813
}

Semantic roles & 50–950 ramp

primary
#B074FD
secondary
#E8F7D4
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B074FD

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

Preview Lab → · Contrast checker → · Palette generator →

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