#B643F2#B643F2

#B643F2 is a light, highly saturated violet. Relative luminance 0.204; OKLCH L 62.0% C 0.252 H 311.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B643F2
RGBrgb(182, 67, 242)
HSLhsl(279, 87%, 61%)
HSVhsv(279, 72%, 95%)
CMYKcmyk(24.8%, 72.3%, 0%, 5.1%)
CIE-LABlab(52.25, 71.94, -67.16)
CIE-LCHlch(52.25, 98.42, 316.97°)
OKLaboklab(62.05% 0.166 -0.1901)
OKLCHoklch(62.05% 0.252 311.1)
XYZxyz(37.3225, 20.3711, 85.9531)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B643F2 #7FF243
analogous
#5F43F2 #B643F2 #F243D6
triadic
#B643F2 #F2B643 #43F2B6
tetradic
#B643F2 #F25F43 #7FF243 #43D6F2
square
#B643F2 #F25F43 #7FF243 #43D6F2
split-complementary
#B643F2 #D6F243 #43F25F
monochromatic
#770CAF #9E10E8 #B643F2 #CC7CF6 #E2B5FA

Accessibility & contrast

On white

4.14
#B643F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#B643F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B643F2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B643F2#FFFFFF#000000##000000
##B643F21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#247FEE
Tritanopia (blue-blind)
#AE6B97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b643f2;
/* rgb */ color: rgb(182, 67, 242);
/* oklch */ color: oklch(62.0% 0.252 311.1);
Tailwind
colors: {
  custom: {
    50: '#d181f7',
    500: '#b643f2',
    950: '#000000',
  },
}
SCSS
$custom: #b643f2;
$custom-light: #d181f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b643f2",
  "rgb": {
    "r": 182,
    "g": 67,
    "b": 242
  },
  "hsl": {
    "h": 279.429,
    "s": 87.065,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62046,
    "c": 0.25235,
    "h": 311.1
  },
  "luminance": 0.2037
}

Semantic roles & 50–950 ramp

primary
#B643F2
secondary
#BEEAA7
accent
#E4024F
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#150B17
muted
#837C85

Preview Lab

Preview with #B643F2

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

Preview Lab → · Contrast checker → · Palette generator →

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