#B34BF2#B34BF2

#B34BF2 is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.5% C 0.242 H 309.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B34BF2
RGBrgb(179, 75, 242)
HSLhsl(277, 87%, 62%)
HSVhsv(277, 69%, 95%)
CMYKcmyk(26%, 69%, 0%, 5.1%)
CIE-LABlab(52.98, 68.19, -66.01)
CIE-LCHlch(52.98, 94.90, 315.93°)
OKLaboklab(62.48% 0.1546 -0.1868)
OKLCHoklch(62.48% 0.243 309.6)
XYZxyz(37.1303, 21.0274, 86.0899)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BF2 #8AF24B
analogous
#604BF2 #B34BF2 #F24BDE
triadic
#B34BF2 #F2B34B #4BF2B3
tetradic
#B34BF2 #F2604B #8AF24B #4BDEF2
square
#B34BF2 #F2604B #8AF24B #4BDEF2
split-complementary
#B34BF2 #DEF24B #4BF260
monochromatic
#760DB5 #9B12EE #B34BF2 #CB84F6 #E3BDFA

Accessibility & contrast

On white

4.03
#B34BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B34BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34BF2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34BF2#FFFFFF#000000##000000
##B34BF21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#2B80EE
Tritanopia (blue-blind)
#AA7099
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b34bf2;
/* rgb */ color: rgb(179, 75, 242);
/* oklch */ color: oklch(62.5% 0.242 309.6);
Tailwind
colors: {
  custom: {
    50: '#cf85f7',
    500: '#b34bf2',
    950: '#000000',
  },
}
SCSS
$custom: #b34bf2;
$custom-light: #cf85f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b34bf2",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 242
  },
  "hsl": {
    "h": 277.365,
    "s": 86.528,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62478,
    "c": 0.2425,
    "h": 309.6
  },
  "luminance": 0.21027
}

Semantic roles & 50–950 ramp

primary
#B34BF2
secondary
#C5EBAE
accent
#E30257
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B34BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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