#B062EA#B062EA

#B062EA is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.4% C 0.203 H 308.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B062EA
RGBrgb(176, 98, 234)
HSLhsl(274, 76%, 65%)
HSVhsv(274, 58%, 92%)
CMYKcmyk(24.8%, 58.1%, 0%, 8.2%)
CIE-LABlab(55.99, 55.16, -56.71)
CIE-LCHlch(55.99, 79.11, 314.21°)
OKLaboklab(64.42% 0.1256 -0.1597)
OKLCHoklch(64.42% 0.203 308.2)
XYZxyz(37.1205, 23.9065, 80.4849)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062EA #9CEA62
analogous
#6C62EA #B062EA #EA62E0
triadic
#B062EA #EAB062 #62EAB0
tetradic
#B062EA #EA6C62 #9CEA62 #62E0EA
square
#B062EA #EA6C62 #9CEA62 #62E0EA
split-complementary
#B062EA #E0EA62 #62EA6C
monochromatic
#7519B9 #952CE3 #B062EA #CB98F1 #E6CEF8

Accessibility & contrast

On white

3.63
#B062EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#B062EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062EA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062EA#FFFFFF#000000##000000
##B062EA1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D83EE
Deuteranopia (green-blind)
#4E87E7
Tritanopia (blue-blind)
#A77C9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b062ea;
/* rgb */ color: rgb(176, 98, 234);
/* oklch */ color: oklch(64.4% 0.203 308.2);
Tailwind
colors: {
  custom: {
    50: '#cb92f1',
    500: '#b062ea',
    950: '#000000',
  },
}
SCSS
$custom: #b062ea;
$custom-light: #cb92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b062ea",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 274.412,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64416,
    "c": 0.20321,
    "h": 308.2
  },
  "luminance": 0.23906
}

Semantic roles & 50–950 ramp

primary
#B062EA
secondary
#D1EBBD
accent
#D90D64
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B062EA

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

Preview Lab → · Contrast checker → · Palette generator →

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