#8074BB#8074BB

#8074BB is a mid, moderate violet. Relative luminance 0.207; OKLCH L 59.9% C 0.107 H 290.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8074BB
RGBrgb(128, 116, 187)
HSLhsl(250, 34%, 59%)
HSVhsv(250, 38%, 73%)
CMYKcmyk(31.6%, 38%, 0%, 26.7%)
CIE-LABlab(52.58, 20.91, -35.77)
CIE-LCHlch(52.58, 41.43, 300.32°)
OKLaboklab(59.94% 0.0375 -0.1)
OKLCHoklch(59.94% 0.107 290.6)
XYZxyz(24.1148, 20.6673, 49.7227)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8074BB #AFBB74
analogous
#748CBB #8074BB #A474BB
triadic
#8074BB #BB8074 #74BB80
tetradic
#8074BB #BB748C #AFBB74 #74BBA4
square
#8074BB #BB748C #AFBB74 #74BBA4
split-complementary
#8074BB #BBA474 #8CBB74
monochromatic
#463B79 #5D4FA2 #8074BB #A69DCF #CBC6E3

Accessibility & contrast

On white

4.09
#8074BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8074BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8074BB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8074BB#FFFFFF#000000##000000
##8074BB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBE
Deuteranopia (green-blind)
#607CB9
Tritanopia (blue-blind)
#72818F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8074bb;
/* rgb */ color: rgb(128, 116, 187);
/* oklch */ color: oklch(59.9% 0.107 290.6);
Tailwind
colors: {
  custom: {
    50: '#a79cd0',
    500: '#8074bb',
    950: '#000000',
  },
}
SCSS
$custom: #8074bb;
$custom-light: #a79cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8074bb",
  "rgb": {
    "r": 128,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 250.141,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59942,
    "c": 0.10676,
    "h": 290.6
  },
  "luminance": 0.20668
}

Semantic roles & 50–950 ramp

primary
#8074BB
secondary
#CFD3B8
accent
#CA5DB8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8074BB

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

Preview Lab → · Contrast checker → · Palette generator →

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