#B062F5#B062F5

#B062F5 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.1% C 0.215 H 305.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B062F5
RGBrgb(176, 98, 245)
HSLhsl(272, 88%, 67%)
HSVhsv(272, 60%, 96%)
CMYKcmyk(28.2%, 60%, 0%, 3.9%)
CIE-LABlab(56.64, 57.64, -61.80)
CIE-LCHlch(56.64, 84.51, 313.00°)
OKLaboklab(65.1% 0.1255 -0.1747)
OKLCHoklch(65.1% 0.215 305.7)
XYZxyz(38.7501, 24.5583, 89.0673)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062F5 #A7F562
analogous
#6762F5 #B062F5 #F562F0
triadic
#B062F5 #F5B062 #62F5B0
tetradic
#B062F5 #F56762 #A7F562 #62F0F5
square
#B062F5 #F56762 #A7F562 #62F0F5
split-complementary
#B062F5 #F0F562 #62F567
monochromatic
#740DCF #9328F1 #B062F5 #CD9CF9 #EAD5FC

Accessibility & contrast

On white

3.55
#B062F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#B062F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062F5
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062F5#FFFFFF#000000##000000
##B062F51.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1585FA
Deuteranopia (green-blind)
#4388F2
Tritanopia (blue-blind)
#A480A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b062f5;
/* rgb */ color: rgb(176, 98, 245);
/* oklch */ color: oklch(65.1% 0.215 305.7);
Tailwind
colors: {
  custom: {
    50: '#cc92f9',
    500: '#b062f5',
    950: '#000000',
  },
}
SCSS
$custom: #b062f5;
$custom-light: #cc92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b062f5",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 271.837,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65097,
    "c": 0.21509,
    "h": 305.7
  },
  "luminance": 0.24558
}

Semantic roles & 50–950 ramp

primary
#B062F5
secondary
#D8F1C2
accent
#E5016C
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B062F5

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

Preview Lab → · Contrast checker → · Palette generator →

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