#B472F2#B472F2

#B472F2 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.6% C 0.190 H 305.7°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B472F2
RGBrgb(180, 114, 242)
HSLhsl(271, 83%, 70%)
HSVhsv(271, 53%, 95%)
CMYKcmyk(25.6%, 52.9%, 0%, 5.1%)
CIE-LABlab(60.02, 49.69, -54.70)
CIE-LCHlch(60.02, 73.90, 312.25°)
OKLaboklab(67.62% 0.1107 -0.1538)
OKLCHoklch(67.62% 0.19 305.7)
XYZxyz(40.8633, 28.1490, 87.2678)
Luminance0.2815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B472F2 #B0F272
analogous
#7472F2 #B472F2 #F272F0
triadic
#B472F2 #F2B472 #72F2B4
tetradic
#B472F2 #F27472 #B0F272 #72F0F2
square
#B472F2 #F27472 #B0F272 #72F0F2
split-complementary
#B472F2 #F0F272 #72F274
monochromatic
#7814D6 #963AED #B472F2 #D2AAF7 #F0E2FC

Accessibility & contrast

On white

3.17
#B472F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#B472F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B472F2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B472F2#FFFFFF#000000##000000
##B472F21.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#488FF6
Deuteranopia (green-blind)
#5D91EF
Tritanopia (blue-blind)
#AA89A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b472f2;
/* rgb */ color: rgb(180, 114, 242);
/* oklch */ color: oklch(67.6% 0.190 305.7);
Tailwind
colors: {
  custom: {
    50: '#cd9cf7',
    500: '#b472f2',
    950: '#000000',
  },
}
SCSS
$custom: #b472f2;
$custom-light: #cd9cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b472f2",
  "rgb": {
    "r": 180,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 270.938,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67619,
    "c": 0.18954,
    "h": 305.7
  },
  "luminance": 0.28149
}

Semantic roles & 50–950 ramp

primary
#B472F2
secondary
#DFF2CE
accent
#E0066F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B472F2

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

Preview Lab → · Contrast checker → · Palette generator →

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