#B062D7#B062D7

#B062D7 is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.3% C 0.183 H 313.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B062D7
RGBrgb(176, 98, 215)
HSLhsl(280, 59%, 61%)
HSVhsv(280, 54%, 84%)
CMYKcmyk(18.1%, 54.4%, 0%, 15.7%)
CIE-LABlab(54.94, 51.01, -47.69)
CIE-LCHlch(54.94, 69.83, 316.93°)
OKLaboklab(63.31% 0.1249 -0.1334)
OKLCHoklch(63.31% 0.183 313.1)
XYZxyz(34.5358, 22.8727, 66.8724)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062D7 #89D762
analogous
#7662D7 #B062D7 #D762C4
triadic
#B062D7 #D7B062 #62D7B0
tetradic
#B062D7 #D77662 #89D762 #62C4D7
square
#B062D7 #D77662 #89D762 #62C4D7
split-complementary
#B062D7 #C4D762 #62D776
monochromatic
#722798 #9733C9 #B062D7 #C993E3 #E1C4F0

Accessibility & contrast

On white

3.77
#B062D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B062D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062D7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062D7#FFFFFF#000000##000000
##B062D71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#437FDB
Deuteranopia (green-blind)
#5D85D4
Tritanopia (blue-blind)
#AC7693
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b062d7;
/* rgb */ color: rgb(176, 98, 215);
/* oklch */ color: oklch(63.3% 0.183 313.1);
Tailwind
colors: {
  custom: {
    50: '#ca92e4',
    500: '#b062d7',
    950: '#000000',
  },
}
SCSS
$custom: #b062d7;
$custom-light: #ca92e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b062d7",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 215
  },
  "hsl": {
    "h": 280,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63305,
    "c": 0.18277,
    "h": 313.1
  },
  "luminance": 0.22872
}

Semantic roles & 50–950 ramp

primary
#B062D7
secondary
#C3E0B5
accent
#C71E57
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D15
muted
#827E84

Preview Lab

Preview with #B062D7

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

Preview Lab → · Contrast checker → · Palette generator →

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