#B95FF2#B95FF2

#B95FF2 is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.5% C 0.219 H 309.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B95FF2
RGBrgb(185, 95, 242)
HSLhsl(277, 85%, 66%)
HSVhsv(277, 61%, 95%)
CMYKcmyk(23.6%, 60.7%, 0%, 5.1%)
CIE-LABlab(56.99, 60.48, -59.52)
CIE-LCHlch(56.99, 84.85, 315.46°)
OKLaboklab(65.52% 0.1403 -0.1677)
OKLCHoklch(65.52% 0.219 309.9)
XYZxyz(40.1237, 24.9103, 86.6817)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95FF2 #98F25F
analogous
#6F5FF2 #B95FF2 #F25FE1
triadic
#B95FF2 #F2B95F #5FF2B9
tetradic
#B95FF2 #F26F5F #98F25F #5FE1F2
square
#B95FF2 #F26F5F #98F25F #5FE1F2
split-complementary
#B95FF2 #E1F25F #5FF26F
monochromatic
#8010C6 #A026ED #B95FF2 #D298F7 #EBD0FB

Accessibility & contrast

On white

3.51
#B95FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#B95FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95FF2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95FF2#FFFFFF#000000##000000
##B95FF21.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D85F7
Deuteranopia (green-blind)
#4D8AEF
Tritanopia (blue-blind)
#B17BA0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b95ff2;
/* rgb */ color: rgb(185, 95, 242);
/* oklch */ color: oklch(65.5% 0.219 309.9);
Tailwind
colors: {
  custom: {
    50: '#d291f7',
    500: '#b95ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b95ff2;
$custom-light: #d291f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b95ff2",
  "rgb": {
    "r": 185,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 276.735,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65523,
    "c": 0.21864,
    "h": 309.9
  },
  "luminance": 0.2491
}

Semantic roles & 50–950 ramp

primary
#B95FF2
secondary
#D1EFBE
accent
#E1045A
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B95FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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