#B062FB#B062FB

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

Color values

HEX#B062FB
RGBrgb(176, 98, 251)
HSLhsl(271, 95%, 68%)
HSVhsv(271, 61%, 98%)
CMYKcmyk(29.9%, 61%, 0%, 1.6%)
CIE-LABlab(57.01, 59.01, -64.54)
CIE-LCHlch(57.01, 87.45, 312.43°)
OKLaboklab(65.48% 0.1253 -0.1827)
OKLCHoklch(65.48% 0.222 304.4)
XYZxyz(39.6809, 24.9307, 93.9697)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062FB #ADFB62
analogous
#6362FB #B062FB #FB62FA
triadic
#B062FB #FBB062 #62FBB0
tetradic
#B062FB #FB6362 #ADFB62 #62FAFB
square
#B062FB #FB6362 #ADFB62 #62FAFB
split-complementary
#B062FB #FAFB62 #62FB63
monochromatic
#7306DD #9226F9 #B062FB #CE9EFD #ECD9FE

Accessibility & contrast

On white

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

On black

5.99
#B062FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062FB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062FB#FFFFFF#000000##000000
##B062FB1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#3C89F8
Tritanopia (blue-blind)
#A282A6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b062fb;
/* rgb */ color: rgb(176, 98, 251);
/* oklch */ color: oklch(65.5% 0.222 304.4);
Tailwind
colors: {
  custom: {
    50: '#cc92fd',
    500: '#b062fb',
    950: '#000000',
  },
}
SCSS
$custom: #b062fb;
$custom-light: #cc92fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b062fb",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 270.588,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65479,
    "c": 0.22156,
    "h": 304.4
  },
  "luminance": 0.24931
}

Semantic roles & 50–950 ramp

primary
#B062FB
secondary
#DCF3C5
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B062FB

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

Preview Lab → · Contrast checker → · Palette generator →

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