#B482F2#B482F2

#B482F2 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.1% C 0.165 H 303.0°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#B482F2
RGBrgb(180, 130, 242)
HSLhsl(267, 81%, 73%)
HSVhsv(267, 46%, 95%)
CMYKcmyk(25.6%, 46.3%, 0%, 5.1%)
CIE-LABlab(63.41, 41.05, -49.33)
CIE-LCHlch(63.41, 64.18, 309.76°)
OKLaboklab(70.14% 0.0898 -0.1382)
OKLCHoklch(70.14% 0.165 303)
XYZxyz(42.8285, 32.0794, 87.9228)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B482F2 #C0F282
analogous
#8288F2 #B482F2 #EC82F2
triadic
#B482F2 #F2B482 #82F2B4
tetradic
#B482F2 #F28288 #C0F282 #82F2EC
square
#B482F2 #F28288 #C0F282 #82F2EC
split-complementary
#B482F2 #F2EC82 #88F282
monochromatic
#7218E2 #934BEC #B482F2 #D5B9F8 #EEE3FC

Accessibility & contrast

On white

2.83
#B482F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#B482F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B482F2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B482F2#FFFFFF#000000##000000
##B482F21.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#6E99EF
Tritanopia (blue-blind)
#A996AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b482f2;
/* rgb */ color: rgb(180, 130, 242);
/* oklch */ color: oklch(70.1% 0.165 303.0);
Tailwind
colors: {
  custom: {
    50: '#cda7f7',
    500: '#b482f2',
    950: '#000000',
  },
}
SCSS
$custom: #b482f2;
$custom-light: #cda7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b482f2",
  "rgb": {
    "r": 180,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 266.786,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70135,
    "c": 0.16478,
    "h": 303
  },
  "luminance": 0.32079
}

Semantic roles & 50–950 ramp

primary
#B482F2
secondary
#E7F4D7
accent
#DE087E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B482F2

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

Preview Lab → · Contrast checker → · Palette generator →

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