#B082F2#B082F2

#B082F2 is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.8% C 0.164 H 301.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#B082F2
RGBrgb(176, 130, 242)
HSLhsl(265, 81%, 73%)
HSVhsv(265, 46%, 95%)
CMYKcmyk(27.3%, 46.3%, 0%, 5.1%)
CIE-LABlab(63.02, 39.98, -49.98)
CIE-LCHlch(63.02, 64.00, 308.66°)
OKLaboklab(69.75% 0.085 -0.1402)
OKLCHoklch(69.75% 0.164 301.2)
XYZxyz(41.9105, 31.6061, 87.8798)
Luminance0.3161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B082F2 #C4F282
analogous
#828CF2 #B082F2 #E882F2
triadic
#B082F2 #F2B082 #82F2B0
tetradic
#B082F2 #F2828C #C4F282 #82F2E8
square
#B082F2 #F2828C #C4F282 #82F2E8
split-complementary
#B082F2 #F2E882 #8CF282
monochromatic
#6B18E2 #8D4BEC #B082F2 #D3B9F8 #EDE3FC

Accessibility & contrast

On white

2.87
#B082F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#B082F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B082F2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B082F2#FFFFFF#000000##000000
##B082F21.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#6C98EF
Tritanopia (blue-blind)
#A496AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b082f2;
/* rgb */ color: rgb(176, 130, 242);
/* oklch */ color: oklch(69.8% 0.164 301.2);
Tailwind
colors: {
  custom: {
    50: '#caa7f7',
    500: '#b082f2',
    950: '#000000',
  },
}
SCSS
$custom: #b082f2;
$custom-light: #caa7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b082f2",
  "rgb": {
    "r": 176,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 264.643,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6975,
    "c": 0.16392,
    "h": 301.2
  },
  "luminance": 0.31606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B082F2

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

Preview Lab → · Contrast checker → · Palette generator →

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