#B074E8#B074E8

#B074E8 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.9% C 0.174 H 306.1°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B074E8
RGBrgb(176, 116, 232)
HSLhsl(271, 72%, 68%)
HSVhsv(271, 50%, 91%)
CMYKcmyk(24.1%, 50%, 0%, 9%)
CIE-LABlab(59.48, 45.30, -50.04)
CIE-LCHlch(59.48, 67.50, 312.15°)
OKLaboklab(66.95% 0.1025 -0.1403)
OKLCHoklch(66.95% 0.174 306.1)
XYZxyz(38.7124, 27.5474, 79.6060)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B074E8 #ACE874
analogous
#7674E8 #B074E8 #E874E6
triadic
#B074E8 #E8B074 #74E8B0
tetradic
#B074E8 #E87674 #ACE874 #74E6E8
square
#B074E8 #E87674 #ACE874 #74E6E8
split-complementary
#B074E8 #E6E874 #74E876
monochromatic
#7420C2 #923FDF #B074E8 #CEA9F1 #ECDDF9

Accessibility & contrast

On white

3.23
#B074E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#B074E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B074E8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B074E8#FFFFFF#000000##000000
##B074E81.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#528DEC
Deuteranopia (green-blind)
#6390E5
Tritanopia (blue-blind)
#A788A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b074e8;
/* rgb */ color: rgb(176, 116, 232);
/* oklch */ color: oklch(66.9% 0.174 306.1);
Tailwind
colors: {
  custom: {
    50: '#ca9df0',
    500: '#b074e8',
    950: '#000000',
  },
}
SCSS
$custom: #b074e8;
$custom-light: #ca9df0;
$custom-dark: #000000;
JSON
{
  "hex": "#b074e8",
  "rgb": {
    "r": 176,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 271.034,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66946,
    "c": 0.17376,
    "h": 306.1
  },
  "luminance": 0.27547
}

Semantic roles & 50–950 ramp

primary
#B074E8
secondary
#DBEDCA
accent
#D4126F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B074E8

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

Preview Lab → · Contrast checker → · Palette generator →

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