#B07FF2#B07FF2

#B07FF2 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.3% C 0.169 H 301.8°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#B07FF2
RGBrgb(176, 127, 242)
HSLhsl(266, 82%, 72%)
HSVhsv(266, 48%, 95%)
CMYKcmyk(27.3%, 47.5%, 0%, 5.1%)
CIE-LABlab(62.35, 41.64, -51.02)
CIE-LCHlch(62.35, 65.86, 309.21°)
OKLaboklab(69.26% 0.089 -0.1432)
OKLCHoklch(69.26% 0.169 301.8)
XYZxyz(41.5173, 30.8196, 87.7487)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B07FF2 #C1F27F
analogous
#7F88F2 #B07FF2 #E97FF2
triadic
#B07FF2 #F2B07F #7FF2B0
tetradic
#B07FF2 #F27F88 #C1F27F #7FF2E9
square
#B07FF2 #F27F88 #C1F27F #7FF2E9
split-complementary
#B07FF2 #F2E97F #88F27F
monochromatic
#6C17E0 #8E47EC #B07FF2 #D2B7F8 #EEE3FC

Accessibility & contrast

On white

2.93
#B07FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#B07FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B07FF2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B07FF2#FFFFFF#000000##000000
##B07FF21.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#6896EF
Tritanopia (blue-blind)
#A494AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b07ff2;
/* rgb */ color: rgb(176, 127, 242);
/* oklch */ color: oklch(69.3% 0.169 301.8);
Tailwind
colors: {
  custom: {
    50: '#caa5f7',
    500: '#b07ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b07ff2;
$custom-light: #caa5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b07ff2",
  "rgb": {
    "r": 176,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 265.565,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69256,
    "c": 0.16859,
    "h": 301.8
  },
  "luminance": 0.3082
}

Semantic roles & 50–950 ramp

primary
#B07FF2
secondary
#E8F4D7
accent
#DE0883
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #B07FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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