#B960F2#B960F2

#B960F2 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.7% C 0.217 H 309.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B960F2
RGBrgb(185, 96, 242)
HSLhsl(277, 85%, 66%)
HSVhsv(277, 60%, 95%)
CMYKcmyk(23.6%, 60.3%, 0%, 5.1%)
CIE-LABlab(57.16, 60.00, -59.24)
CIE-LCHlch(57.16, 84.31, 315.37°)
OKLaboklab(65.65% 0.1391 -0.1669)
OKLCHoklch(65.65% 0.217 309.8)
XYZxyz(40.2144, 25.0916, 86.7119)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B960F2 #99F260
analogous
#7060F2 #B960F2 #F260E2
triadic
#B960F2 #F2B960 #60F2B9
tetradic
#B960F2 #F27060 #99F260 #60E2F2
square
#B960F2 #F27060 #99F260 #60E2F2
split-complementary
#B960F2 #E2F260 #60F270
monochromatic
#8010C7 #A027ED #B960F2 #D299F7 #EBD1FB

Accessibility & contrast

On white

3.49
#B960F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B960F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B960F2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B960F2#FFFFFF#000000##000000
##B960F21.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2185F7
Deuteranopia (green-blind)
#4E8BEF
Tritanopia (blue-blind)
#B17CA0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b960f2;
/* rgb */ color: rgb(185, 96, 242);
/* oklch */ color: oklch(65.7% 0.217 309.8);
Tailwind
colors: {
  custom: {
    50: '#d291f7',
    500: '#b960f2',
    950: '#000000',
  },
}
SCSS
$custom: #b960f2;
$custom-light: #d291f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b960f2",
  "rgb": {
    "r": 185,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 276.575,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65651,
    "c": 0.21726,
    "h": 309.8
  },
  "luminance": 0.25091
}

Semantic roles & 50–950 ramp

primary
#B960F2
secondary
#D2EFBF
accent
#E1045B
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B960F2

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

Preview Lab → · Contrast checker → · Palette generator →

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