#B062FF#B062FF

#B062FF is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.7% C 0.226 H 303.6°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B062FF
RGBrgb(176, 98, 255)
HSLhsl(270, 100%, 69%)
HSVhsv(270, 62%, 100%)
CMYKcmyk(31%, 61.6%, 0%, 0%)
CIE-LABlab(57.26, 59.93, -66.35)
CIE-LCHlch(57.26, 89.41, 312.09°)
OKLaboklab(65.74% 0.1251 -0.188)
OKLCHoklch(65.74% 0.226 303.6)
XYZxyz(40.3181, 25.1856, 97.3256)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062FF #B1FF62
analogous
#6263FF #B062FF #FF62FF
triadic
#B062FF #FFB062 #62FFB0
tetradic
#B062FF #FF6263 #B1FF62 #62FFFF
square
#B062FF #FF6263 #B1FF62 #62FFFF
split-complementary
#B062FF #FFFF62 #63FF62
monochromatic
#7300E7 #9125FF #B062FF #CF9FFF #EEDCFF

Accessibility & contrast

On white

3.48
#B062FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#B062FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062FF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062FF#FFFFFF#000000##000000
##B062FF1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#3689FB
Tritanopia (blue-blind)
#A183A8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b062ff;
/* rgb */ color: rgb(176, 98, 255);
/* oklch */ color: oklch(65.7% 0.226 303.6);
Tailwind
colors: {
  custom: {
    50: '#cc92ff',
    500: '#b062ff',
    950: '#000000',
  },
}
SCSS
$custom: #b062ff;
$custom-light: #cc92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b062ff",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 269.809,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65738,
    "c": 0.22587,
    "h": 303.6
  },
  "luminance": 0.25185
}

Semantic roles & 50–950 ramp

primary
#B062FF
secondary
#DFF5C8
accent
#E60073
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B062FF

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

Preview Lab → · Contrast checker → · Palette generator →

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