#A07FB2#A07FB2

#A07FB2 is a light, moderate violet. Relative luminance 0.259; OKLCH L 64.6% C 0.083 H 313.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A07FB2
RGBrgb(160, 127, 178)
HSLhsl(279, 25%, 60%)
HSVhsv(279, 29%, 70%)
CMYKcmyk(10.1%, 28.7%, 0%, 30.2%)
CIE-LABlab(57.91, 22.31, -22.11)
CIE-LCHlch(57.91, 31.41, 315.26°)
OKLaboklab(64.59% 0.057 -0.0603)
OKLCHoklch(64.59% 0.083 313.4)
XYZxyz(30.1212, 25.8671, 45.5169)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A07FB2 #91B27F
analogous
#877FB2 #A07FB2 #B27FAA
triadic
#A07FB2 #B2A07F #7FB2A0
tetradic
#A07FB2 #B2877F #91B27F #7FAAB2
square
#A07FB2 #B2877F #91B27F #7FAAB2
split-complementary
#A07FB2 #AAB27F #7FB287
monochromatic
#624572 #835C98 #A07FB2 #BCA5C9 #D9CBE0

Accessibility & contrast

On white

3.40
#A07FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#A07FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A07FB2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A07FB2#FFFFFF#000000##000000
##A07FB21.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B4
Deuteranopia (green-blind)
#7E8CB0
Tritanopia (blue-blind)
#9F8591
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a07fb2;
/* rgb */ color: rgb(160, 127, 178);
/* oklch */ color: oklch(64.6% 0.083 313.4);
Tailwind
colors: {
  custom: {
    50: '#bca4c9',
    500: '#a07fb2',
    950: '#000000',
  },
}
SCSS
$custom: #a07fb2;
$custom-light: #bca4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a07fb2",
  "rgb": {
    "r": 160,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 278.824,
    "s": 24.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64591,
    "c": 0.08303,
    "h": 313.4
  },
  "luminance": 0.25867
}

Semantic roles & 50–950 ramp

primary
#A07FB2
secondary
#C4D0BD
accent
#C16787
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#120F13
muted
#817F82

Preview Lab

Preview with #A07FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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