#B062DF#B062DF

#B062DF is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.8% C 0.191 H 310.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B062DF
RGBrgb(176, 98, 223)
HSLhsl(277, 66%, 63%)
HSVhsv(277, 56%, 87%)
CMYKcmyk(21.1%, 56.1%, 0%, 12.5%)
CIE-LABlab(55.37, 52.74, -51.52)
CIE-LCHlch(55.37, 73.73, 315.67°)
OKLaboklab(63.76% 0.1254 -0.1446)
OKLCHoklch(63.76% 0.191 310.9)
XYZxyz(35.5890, 23.2939, 72.4191)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062DF #91DF62
analogous
#7162DF #B062DF #DF62D0
triadic
#B062DF #DFB062 #62DFB0
tetradic
#B062DF #DF7162 #91DF62 #62D0DF
square
#B062DF #DF7162 #91DF62 #62D0DF
split-complementary
#B062DF #D0DF62 #62DF71
monochromatic
#7422A5 #962FD5 #B062DF #CA95E9 #E3C8F4

Accessibility & contrast

On white

3.71
#B062DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B062DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062DF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062DF#FFFFFF#000000##000000
##B062DF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B81E3
Deuteranopia (green-blind)
#5786DC
Tritanopia (blue-blind)
#AA7897
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b062df;
/* rgb */ color: rgb(176, 98, 223);
/* oklch */ color: oklch(63.8% 0.191 310.9);
Tailwind
colors: {
  custom: {
    50: '#ca92e9',
    500: '#b062df',
    950: '#000000',
  },
}
SCSS
$custom: #b062df;
$custom-light: #ca92e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b062df",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 277.44,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63763,
    "c": 0.19135,
    "h": 310.9
  },
  "luminance": 0.23293
}

Semantic roles & 50–950 ramp

primary
#B062DF
secondary
#C9E5B8
accent
#CE175C
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B062DF

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

Preview Lab → · Contrast checker → · Palette generator →

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