#B074F2#B074F2

#B074F2 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.5% C 0.185 H 303.8°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B074F2
RGBrgb(176, 116, 242)
HSLhsl(269, 83%, 70%)
HSVhsv(269, 52%, 95%)
CMYKcmyk(27.3%, 52.1%, 0%, 5.1%)
CIE-LABlab(60.01, 47.62, -54.75)
CIE-LCHlch(60.01, 72.56, 311.01°)
OKLaboklab(67.51% 0.1033 -0.1541)
OKLCHoklch(67.51% 0.186 303.8)
XYZxyz(40.1734, 28.1318, 87.3007)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B074F2 #B6F274
analogous
#7477F2 #B074F2 #EF74F2
triadic
#B074F2 #F2B074 #74F2B0
tetradic
#B074F2 #F27477 #B6F274 #74F2EF
square
#B074F2 #F27477 #B6F274 #74F2EF
split-complementary
#B074F2 #F2EF74 #77F274
monochromatic
#7114D7 #903CED #B074F2 #D0ACF7 #EFE3FC

Accessibility & contrast

On white

3.17
#B074F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#B074F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B074F2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B074F2#FFFFFF#000000##000000
##B074F21.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#5C91EF
Tritanopia (blue-blind)
#A48BA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b074f2;
/* rgb */ color: rgb(176, 116, 242);
/* oklch */ color: oklch(67.5% 0.185 303.8);
Tailwind
colors: {
  custom: {
    50: '#cb9ef7',
    500: '#b074f2',
    950: '#000000',
  },
}
SCSS
$custom: #b074f2;
$custom-light: #cb9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#b074f2",
  "rgb": {
    "r": 176,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 268.571,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67511,
    "c": 0.1855,
    "h": 303.8
  },
  "luminance": 0.28132
}

Semantic roles & 50–950 ramp

primary
#B074F2
secondary
#E2F2CF
accent
#DF0678
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B074F2

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

Preview Lab → · Contrast checker → · Palette generator →

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