#B341F3#B341F3

#B341F3 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.6% C 0.255 H 310.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B341F3
RGBrgb(179, 65, 243)
HSLhsl(278, 88%, 60%)
HSVhsv(278, 73%, 95%)
CMYKcmyk(26.3%, 73.3%, 0%, 4.7%)
CIE-LABlab(51.65, 72.34, -68.72)
CIE-LCHlch(51.65, 99.78, 316.47°)
OKLaboklab(61.56% 0.1639 -0.1947)
OKLCHoklch(61.56% 0.255 310.1)
XYZxyz(36.6552, 19.8362, 86.6744)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341F3 #81F341
analogous
#5A41F3 #B341F3 #F341DA
triadic
#B341F3 #F3B341 #41F3B3
tetradic
#B341F3 #F35A41 #81F341 #41DAF3
square
#B341F3 #F35A41 #81F341 #41DAF3
split-complementary
#B341F3 #DAF341 #41F35A
monochromatic
#740BAF #9A0FE8 #B341F3 #CA7BF7 #E1B4FA

Accessibility & contrast

On white

4.23
#B341F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B341F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B341F3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341F3#FFFFFF#000000##000000
##B341F31.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F8
Deuteranopia (green-blind)
#147DEF
Tritanopia (blue-blind)
#AA6B97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b341f3;
/* rgb */ color: rgb(179, 65, 243);
/* oklch */ color: oklch(61.6% 0.255 310.1);
Tailwind
colors: {
  custom: {
    50: '#cf80f8',
    500: '#b341f3',
    950: '#000000',
  },
}
SCSS
$custom: #b341f3;
$custom-light: #cf80f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b341f3",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 243
  },
  "hsl": {
    "h": 278.427,
    "s": 88.119,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61556,
    "c": 0.2545,
    "h": 310.1
  },
  "luminance": 0.19835
}

Semantic roles & 50–950 ramp

primary
#B341F3
secondary
#BEEAA6
accent
#E50153
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#140B17
muted
#837C85

Preview Lab

Preview with #B341F3

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

Preview Lab → · Contrast checker → · Palette generator →

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