#B074F8#B074F8

#B074F8 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.9% C 0.193 H 302.6°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B074F8
RGBrgb(176, 116, 248)
HSLhsl(267, 90%, 71%)
HSVhsv(267, 53%, 97%)
CMYKcmyk(29%, 53.2%, 0%, 2.7%)
CIE-LABlab(60.34, 49.03, -57.55)
CIE-LCHlch(60.34, 75.60, 310.43°)
OKLaboklab(67.86% 0.1036 -0.1623)
OKLCHoklch(67.86% 0.193 302.6)
XYZxyz(41.0893, 28.4982, 92.1247)
Luminance0.2850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B074F8 #BCF874
analogous
#747AF8 #B074F8 #F274F8
triadic
#B074F8 #F8B074 #74F8B0
tetradic
#B074F8 #F8747A #BCF874 #74F8F2
square
#B074F8 #F8747A #BCF874 #74F8F2
split-complementary
#B074F8 #F8F274 #7AF874
monochromatic
#6F0CE6 #8F3AF5 #B074F8 #D1AEFB #EEE2FE

Accessibility & contrast

On white

3.13
#B074F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#B074F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B074F8
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B074F8#FFFFFF#000000##000000
##B074F81.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4490FC
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#A38DAB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b074f8;
/* rgb */ color: rgb(176, 116, 248);
/* oklch */ color: oklch(67.9% 0.193 302.6);
Tailwind
colors: {
  custom: {
    50: '#cb9efb',
    500: '#b074f8',
    950: '#000000',
  },
}
SCSS
$custom: #b074f8;
$custom-light: #cb9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#b074f8",
  "rgb": {
    "r": 176,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 267.273,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6786,
    "c": 0.19253,
    "h": 302.6
  },
  "luminance": 0.28498
}

Semantic roles & 50–950 ramp

primary
#B074F8
secondary
#E5F5D3
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B074F8

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

Preview Lab → · Contrast checker → · Palette generator →

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