#B062F9#B062F9

#B062F9 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.4% C 0.219 H 304.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B062F9
RGBrgb(176, 98, 249)
HSLhsl(271, 93%, 68%)
HSVhsv(271, 61%, 98%)
CMYKcmyk(29.3%, 60.6%, 0%, 2.4%)
CIE-LABlab(56.89, 58.55, -63.63)
CIE-LCHlch(56.89, 86.47, 312.62°)
OKLaboklab(65.35% 0.1254 -0.1801)
OKLCHoklch(65.35% 0.219 304.9)
XYZxyz(39.3673, 24.8052, 92.3181)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062F9 #ABF962
analogous
#6462F9 #B062F9 #F962F7
triadic
#B062F9 #F9B062 #62F9B0
tetradic
#B062F9 #F96462 #ABF962 #62F7F9
square
#B062F9 #F96462 #ABF962 #62F7F9
split-complementary
#B062F9 #F7F962 #62F964
monochromatic
#7408D8 #9227F7 #B062F9 #CE9DFB #EBD8FE

Accessibility & contrast

On white

3.52
#B062F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#B062F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062F9
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062F9#FFFFFF#000000##000000
##B062F91.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0286FE
Deuteranopia (green-blind)
#3E89F6
Tritanopia (blue-blind)
#A381A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b062f9;
/* rgb */ color: rgb(176, 98, 249);
/* oklch */ color: oklch(65.4% 0.219 304.9);
Tailwind
colors: {
  custom: {
    50: '#cc92fc',
    500: '#b062f9',
    950: '#000000',
  },
}
SCSS
$custom: #b062f9;
$custom-light: #cc92fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b062f9",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 249
  },
  "hsl": {
    "h": 270.993,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65351,
    "c": 0.21941,
    "h": 304.9
  },
  "luminance": 0.24805
}

Semantic roles & 50–950 ramp

primary
#B062F9
secondary
#DBF2C4
accent
#E6006F
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B062F9

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

Preview Lab → · Contrast checker → · Palette generator →

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