#B062DA#B062DA

#B062DA is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.5% C 0.186 H 312.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B062DA
RGBrgb(176, 98, 218)
HSLhsl(279, 62%, 62%)
HSVhsv(279, 55%, 85%)
CMYKcmyk(19.3%, 55%, 0%, 14.5%)
CIE-LABlab(55.10, 51.65, -49.13)
CIE-LCHlch(55.10, 71.29, 316.43°)
OKLaboklab(63.48% 0.1251 -0.1376)
OKLCHoklch(63.48% 0.186 312.3)
XYZxyz(34.9248, 23.0283, 68.9212)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062DA #8CDA62
analogous
#7462DA #B062DA #DA62C8
triadic
#B062DA #DAB062 #62DAB0
tetradic
#B062DA #DA7462 #8CDA62 #62C8DA
square
#B062DA #DA7462 #8CDA62 #62C8DA
split-complementary
#B062DA #C8DA62 #62DA74
monochromatic
#73259D #9731CE #B062DA #C994E6 #E2C5F1

Accessibility & contrast

On white

3.75
#B062DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#B062DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062DA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062DA#FFFFFF#000000##000000
##B062DA1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4080DE
Deuteranopia (green-blind)
#5B86D7
Tritanopia (blue-blind)
#AC7795
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b062da;
/* rgb */ color: rgb(176, 98, 218);
/* oklch */ color: oklch(63.5% 0.186 312.3);
Tailwind
colors: {
  custom: {
    50: '#ca92e6',
    500: '#b062da',
    950: '#000000',
  },
}
SCSS
$custom: #b062da;
$custom-light: #ca92e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b062da",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 279,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63475,
    "c": 0.18597,
    "h": 312.3
  },
  "luminance": 0.23027
}

Semantic roles & 50–950 ramp

primary
#B062DA
secondary
#C5E2B6
accent
#CA1C59
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B062DA

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

Preview Lab → · Contrast checker → · Palette generator →

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