#B074DC#B074DC

#B074DC is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.3% C 0.160 H 309.3°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B074DC
RGBrgb(176, 116, 220)
HSLhsl(275, 60%, 66%)
HSVhsv(275, 47%, 86%)
CMYKcmyk(20%, 47.3%, 0%, 13.7%)
CIE-LABlab(58.87, 42.58, -44.29)
CIE-LCHlch(58.87, 61.44, 313.87°)
OKLaboklab(66.3% 0.1011 -0.1236)
OKLCHoklch(66.3% 0.16 309.3)
XYZxyz(37.0657, 26.8887, 70.9337)
Luminance0.2689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B074DC #A0DC74
analogous
#7C74DC #B074DC #DC74D4
triadic
#B074DC #DCB074 #74DCB0
tetradic
#B074DC #DC7C74 #A0DC74 #74D4DC
square
#B074DC #DC7C74 #A0DC74 #74D4DC
split-complementary
#B074DC #D4DC74 #74DC7C
monochromatic
#752BAB #9443D0 #B074DC #CCA5E8 #E8D6F5

Accessibility & contrast

On white

3.29
#B074DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#B074DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B074DC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B074DC#FFFFFF#000000##000000
##B074DC1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8BE0
Deuteranopia (green-blind)
#6B8FD9
Tritanopia (blue-blind)
#AA859E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b074dc;
/* rgb */ color: rgb(176, 116, 220);
/* oklch */ color: oklch(66.3% 0.160 309.3);
Tailwind
colors: {
  custom: {
    50: '#ca9de7',
    500: '#b074dc',
    950: '#000000',
  },
}
SCSS
$custom: #b074dc;
$custom-light: #ca9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#b074dc",
  "rgb": {
    "r": 176,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 274.615,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66298,
    "c": 0.15969,
    "h": 309.3
  },
  "luminance": 0.26888
}

Semantic roles & 50–950 ramp

primary
#B074DC
secondary
#D3E7C5
accent
#C71E66
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B074DC

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

Preview Lab → · Contrast checker → · Palette generator →

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