#B95CF2#B95CF2

#B95CF2 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.1% C 0.223 H 310.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B95CF2
RGBrgb(185, 92, 242)
HSLhsl(277, 85%, 65%)
HSVhsv(277, 62%, 95%)
CMYKcmyk(23.6%, 62%, 0%, 5.1%)
CIE-LABlab(56.47, 61.90, -60.36)
CIE-LCHlch(56.47, 86.45, 315.72°)
OKLaboklab(65.15% 0.1438 -0.1701)
OKLCHoklch(65.15% 0.223 310.2)
XYZxyz(39.8587, 24.3802, 86.5933)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95CF2 #95F25C
analogous
#6E5CF2 #B95CF2 #F25CE0
triadic
#B95CF2 #F2B95C #5CF2B9
tetradic
#B95CF2 #F26E5C #95F25C #5CE0F2
square
#B95CF2 #F26E5C #95F25C #5CE0F2
split-complementary
#B95CF2 #E0F25C #5CF26E
monochromatic
#7F10C4 #A123ED #B95CF2 #D195F7 #EACDFB

Accessibility & contrast

On white

3.57
#B95CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#B95CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95CF2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95CF2#FFFFFF#000000##000000
##B95CF21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F83F7
Deuteranopia (green-blind)
#4A89EF
Tritanopia (blue-blind)
#B1799F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b95cf2;
/* rgb */ color: rgb(185, 92, 242);
/* oklch */ color: oklch(65.1% 0.223 310.2);
Tailwind
colors: {
  custom: {
    50: '#d28ff7',
    500: '#b95cf2',
    950: '#000000',
  },
}
SCSS
$custom: #b95cf2;
$custom-light: #d28ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b95cf2",
  "rgb": {
    "r": 185,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 277.2,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65145,
    "c": 0.22275,
    "h": 310.2
  },
  "luminance": 0.24379
}

Semantic roles & 50–950 ramp

primary
#B95CF2
secondary
#CFEEBC
accent
#E20458
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B95CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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