#B062CD#B062CD

#B062CD is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.8% C 0.172 H 316.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B062CD
RGBrgb(176, 98, 205)
HSLhsl(284, 52%, 59%)
HSVhsv(284, 52%, 80%)
CMYKcmyk(14.1%, 52.2%, 0%, 19.6%)
CIE-LABlab(54.42, 48.91, -42.83)
CIE-LCHlch(54.42, 65.01, 318.79°)
OKLaboklab(62.75% 0.1241 -0.1193)
OKLCHoklch(62.75% 0.172 316.1)
XYZxyz(33.2900, 22.3743, 60.3108)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062CD #7FCD62
analogous
#7B62CD #B062CD #CD62B5
triadic
#B062CD #CDB062 #62CDB0
tetradic
#B062CD #CD7B62 #7FCD62 #62B5CD
square
#B062CD #CD7B62 #7FCD62 #62B5CD
split-complementary
#B062CD #B5CD62 #62CD7B
monochromatic
#702C89 #963AB7 #B062CD #C790DC #DFBFEB

Accessibility & contrast

On white

3.84
#B062CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B062CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062CD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062CD#FFFFFF#000000##000000
##B062CD1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DD1
Deuteranopia (green-blind)
#6385CA
Tritanopia (blue-blind)
#AF728E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b062cd;
/* rgb */ color: rgb(176, 98, 205);
/* oklch */ color: oklch(62.8% 0.172 316.1);
Tailwind
colors: {
  custom: {
    50: '#ca91dd',
    500: '#b062cd',
    950: '#000000',
  },
}
SCSS
$custom: #b062cd;
$custom-light: #ca91dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b062cd",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 283.738,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62754,
    "c": 0.17212,
    "h": 316.1
  },
  "luminance": 0.22373
}

Semantic roles & 50–950 ramp

primary
#B062CD
secondary
#BCDAB1
accent
#DB4D73
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B062CD

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

Preview Lab → · Contrast checker → · Palette generator →

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