#8074BC#8074BC

#8074BC is a mid, moderate violet. Relative luminance 0.207; OKLCH L 60.0% C 0.108 H 290.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8074BC
RGBrgb(128, 116, 188)
HSLhsl(250, 35%, 60%)
HSVhsv(250, 38%, 74%)
CMYKcmyk(31.9%, 38.3%, 0%, 26.3%)
CIE-LABlab(52.63, 21.18, -36.27)
CIE-LCHlch(52.63, 42.00, 300.28°)
OKLaboklab(59.99% 0.0377 -0.1014)
OKLCHoklch(59.99% 0.108 290.4)
XYZxyz(24.2222, 20.7103, 50.2885)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8074BC #B0BC74
analogous
#748CBC #8074BC #A474BC
triadic
#8074BC #BC8074 #74BC80
tetradic
#8074BC #BC748C #B0BC74 #74BCA4
square
#8074BC #BC748C #B0BC74 #74BCA4
split-complementary
#8074BC #BCA474 #8CBC74
monochromatic
#463B7B #5D4FA4 #8074BC #A69DD0 #CBC7E4

Accessibility & contrast

On white

4.08
#8074BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8074BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8074BC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8074BC#FFFFFF#000000##000000
##8074BC1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBF
Deuteranopia (green-blind)
#5F7CBA
Tritanopia (blue-blind)
#72818F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8074bc;
/* rgb */ color: rgb(128, 116, 188);
/* oklch */ color: oklch(60.0% 0.108 290.4);
Tailwind
colors: {
  custom: {
    50: '#a79cd0',
    500: '#8074bc',
    950: '#000000',
  },
}
SCSS
$custom: #8074bc;
$custom-light: #a79cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8074bc",
  "rgb": {
    "r": 128,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 250,
    "s": 34.951,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59993,
    "c": 0.10819,
    "h": 290.4
  },
  "luminance": 0.20711
}

Semantic roles & 50–950 ramp

primary
#8074BC
secondary
#CFD4B8
accent
#CB5DB9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8074BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8074BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva