#B348EF#B348EF

#B348EF is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 62.0% C 0.243 H 310.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B348EF
RGBrgb(179, 72, 239)
HSLhsl(278, 84%, 61%)
HSVhsv(278, 70%, 94%)
CMYKcmyk(25.1%, 69.9%, 0%, 6.3%)
CIE-LABlab(52.34, 68.80, -65.36)
CIE-LCHlch(52.34, 94.89, 316.47°)
OKLaboklab(61.96% 0.1579 -0.1849)
OKLCHoklch(61.96% 0.243 310.5)
XYZxyz(36.4848, 20.4512, 83.6701)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348EF #84EF48
analogous
#5F48EF #B348EF #EF48D8
triadic
#B348EF #EFB348 #48EFB3
tetradic
#B348EF #EF5F48 #84EF48 #48D8EF
square
#B348EF #EF5F48 #84EF48 #48D8EF
split-complementary
#B348EF #D8EF48 #48EF5F
monochromatic
#750FAD #9A14E6 #B348EF #CA80F4 #E2B9F9

Accessibility & contrast

On white

4.13
#B348EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B348EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B348EF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348EF#FFFFFF#000000##000000
##B348EF1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#2B7FEB
Tritanopia (blue-blind)
#AB6D97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b348ef;
/* rgb */ color: rgb(179, 72, 239);
/* oklch */ color: oklch(62.0% 0.243 310.5);
Tailwind
colors: {
  custom: {
    50: '#cf83f5',
    500: '#b348ef',
    950: '#000000',
  },
}
SCSS
$custom: #b348ef;
$custom-light: #cf83f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b348ef",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 278.443,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61962,
    "c": 0.24315,
    "h": 310.5
  },
  "luminance": 0.2045
}

Semantic roles & 50–950 ramp

primary
#B348EF
secondary
#C1E9AA
accent
#E00554
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140B17
muted
#837C85

Preview Lab

Preview with #B348EF

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

Preview Lab → · Contrast checker → · Palette generator →

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