#B07FDB#B07FDB

#B07FDB is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.1% C 0.140 H 307.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#B07FDB
RGBrgb(176, 127, 219)
HSLhsl(272, 56%, 68%)
HSVhsv(272, 42%, 86%)
CMYKcmyk(19.6%, 42%, 0%, 14.1%)
CIE-LABlab(61.24, 36.30, -40.00)
CIE-LCHlch(61.24, 54.02, 312.22°)
OKLaboklab(68.06% 0.0856 -0.1112)
OKLCHoklch(68.06% 0.14 307.6)
XYZxyz(38.2776, 29.5237, 70.6862)
Luminance0.2952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B07FDB #AADB7F
analogous
#827FDB #B07FDB #DB7FD8
triadic
#B07FDB #DBB07F #7FDBB0
tetradic
#B07FDB #DB827F #AADB7F #7FD8DB
square
#B07FDB #DB827F #AADB7F #7FD8DB
split-complementary
#B07FDB #D8DB7F #7FDB82
monochromatic
#7431AF #934FCE #B07FDB #CDAFE8 #EBDFF6

Accessibility & contrast

On white

3.04
#B07FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#B07FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B07FDB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B07FDB#FFFFFF#000000##000000
##B07FDB1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92DE
Deuteranopia (green-blind)
#7694D9
Tritanopia (blue-blind)
#AA8DA3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b07fdb;
/* rgb */ color: rgb(176, 127, 219);
/* oklch */ color: oklch(68.1% 0.140 307.6);
Tailwind
colors: {
  custom: {
    50: '#c9a5e6',
    500: '#b07fdb',
    950: '#000000',
  },
}
SCSS
$custom: #b07fdb;
$custom-light: #c9a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b07fdb",
  "rgb": {
    "r": 176,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 271.957,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68057,
    "c": 0.14034,
    "h": 307.6
  },
  "luminance": 0.29523
}

Semantic roles & 50–950 ramp

primary
#B07FDB
secondary
#DAE9CD
accent
#C4226D
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B07FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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