#B062FC#B062FC

#B062FC is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.5% C 0.223 H 304.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B062FC
RGBrgb(176, 98, 252)
HSLhsl(270, 96%, 69%)
HSVhsv(270, 61%, 99%)
CMYKcmyk(30.2%, 61.1%, 0%, 1.2%)
CIE-LABlab(57.07, 59.24, -65.00)
CIE-LCHlch(57.07, 87.94, 312.35°)
OKLaboklab(65.54% 0.1253 -0.1841)
OKLCHoklch(65.54% 0.223 304.2)
XYZxyz(39.8389, 24.9939, 94.8021)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062FC #AEFC62
analogous
#6362FC #B062FC #FC62FB
triadic
#B062FC #FCB062 #62FCB0
tetradic
#B062FC #FC6362 #AEFC62 #62FBFC
square
#B062FC #FC6362 #AEFC62 #62FBFC
split-complementary
#B062FC #FBFC62 #62FC63
monochromatic
#7304DF #9226FB #B062FC #CE9EFD #ECDAFE

Accessibility & contrast

On white

3.50
#B062FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#B062FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062FC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062FC#FFFFFF#000000##000000
##B062FC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b062fc;
/* rgb */ color: rgb(176, 98, 252);
/* oklch */ color: oklch(65.5% 0.223 304.2);
Tailwind
colors: {
  custom: {
    50: '#cc92fe',
    500: '#b062fc',
    950: '#000000',
  },
}
SCSS
$custom: #b062fc;
$custom-light: #cc92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b062fc",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 270.39,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65544,
    "c": 0.22264,
    "h": 304.2
  },
  "luminance": 0.24994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B062FC

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

Preview Lab → · Contrast checker → · Palette generator →

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