#B074FA#B074FA

#B074FA is a light, vivid violet. Relative luminance 0.286; OKLCH L 68.0% C 0.195 H 302.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B074FA
RGBrgb(176, 116, 250)
HSLhsl(267, 93%, 72%)
HSVhsv(267, 54%, 98%)
CMYKcmyk(29.6%, 53.6%, 0%, 2%)
CIE-LABlab(60.45, 49.50, -58.47)
CIE-LCHlch(60.45, 76.62, 310.25°)
OKLaboklab(67.98% 0.1037 -0.165)
OKLCHoklch(67.98% 0.195 302.2)
XYZxyz(41.4013, 28.6230, 93.7676)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B074FA #BEFA74
analogous
#747BFA #B074FA #F374FA
triadic
#B074FA #FAB074 #74FAB0
tetradic
#B074FA #FA747B #BEFA74 #74FAF3
square
#B074FA #FA747B #BEFA74 #74FAF3
split-complementary
#B074FA #FAF374 #7BFA74
monochromatic
#6E08EB #8E39F8 #B074FA #D2AFFC #EEE1FE

Accessibility & contrast

On white

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

On black

6.72
#B074FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B074FA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B074FA#FFFFFF#000000##000000
##B074FA1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4291FF
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#A28EAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b074fa;
/* rgb */ color: rgb(176, 116, 250);
/* oklch */ color: oklch(68.0% 0.195 302.2);
Tailwind
colors: {
  custom: {
    50: '#cb9efd',
    500: '#b074fa',
    950: '#000000',
  },
}
SCSS
$custom: #b074fa;
$custom-light: #cb9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#b074fa",
  "rgb": {
    "r": 176,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 266.866,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67978,
    "c": 0.19487,
    "h": 302.2
  },
  "luminance": 0.28623
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B074FA

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

Preview Lab → · Contrast checker → · Palette generator →

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