#B342FF#B342FF

#B342FF is a light, highly saturated violet. Relative luminance 0.207; OKLCH L 62.5% C 0.264 H 307.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B342FF
RGBrgb(179, 66, 255)
HSLhsl(276, 100%, 63%)
HSVhsv(276, 74%, 100%)
CMYKcmyk(29.8%, 74.1%, 0%, 0%)
CIE-LABlab(52.62, 74.44, -73.83)
CIE-LCHlch(52.62, 104.85, 315.24°)
OKLaboklab(62.5% 0.1609 -0.2098)
OKLCHoklch(62.5% 0.264 307.5)
XYZxyz(38.5848, 20.7007, 96.5513)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B342FF #8EFF42
analogous
#5442FF #B342FF #FF42EC
triadic
#B342FF #FFB342 #42FFB3
tetradic
#B342FF #FF5442 #8EFF42 #42ECFF
square
#B342FF #FF5442 #8EFF42 #42ECFF
split-complementary
#B342FF #ECFF42 #42FF54
monochromatic
#7700C7 #9A05FF #B342FF #CC7FFF #E4BCFF

Accessibility & contrast

On white

4.09
#B342FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B342FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B342FF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B342FF#FFFFFF#000000##000000
##B342FF1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#007EFB
Tritanopia (blue-blind)
#A6709E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b342ff;
/* rgb */ color: rgb(179, 66, 255);
/* oklch */ color: oklch(62.5% 0.264 307.5);
Tailwind
colors: {
  custom: {
    50: '#d081ff',
    500: '#b342ff',
    950: '#000000',
  },
}
SCSS
$custom: #b342ff;
$custom-light: #d081ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b342ff",
  "rgb": {
    "r": 179,
    "g": 66,
    "b": 255
  },
  "hsl": {
    "h": 275.873,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62504,
    "c": 0.26436,
    "h": 307.5
  },
  "luminance": 0.207
}

Semantic roles & 50–950 ramp

primary
#B342FF
secondary
#C8F0AC
accent
#E6005C
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#150B18
muted
#837C86

Preview Lab

Preview with #B342FF

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

Preview Lab → · Contrast checker → · Palette generator →

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