#B066F5#B066F5

#B066F5 is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.6% C 0.209 H 305.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B066F5
RGBrgb(176, 102, 245)
HSLhsl(271, 88%, 68%)
HSVhsv(271, 58%, 96%)
CMYKcmyk(28.2%, 58.4%, 0%, 3.9%)
CIE-LABlab(57.39, 55.63, -60.60)
CIE-LCHlch(57.39, 82.26, 312.55°)
OKLaboklab(65.64% 0.1208 -0.1712)
OKLCHoklch(65.64% 0.209 305.2)
XYZxyz(39.1337, 25.3257, 89.1952)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B066F5 #ABF566
analogous
#6866F5 #B066F5 #F566F2
triadic
#B066F5 #F5B066 #66F5B0
tetradic
#B066F5 #F56866 #ABF566 #66F2F5
square
#B066F5 #F56866 #ABF566 #66F2F5
split-complementary
#B066F5 #F2F566 #66F568
monochromatic
#740ED3 #922DF1 #B066F5 #CE9FF9 #EBD9FD

Accessibility & contrast

On white

3.46
#B066F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#B066F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B066F5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B066F5#FFFFFF#000000##000000
##B066F51.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2588FA
Deuteranopia (green-blind)
#488AF2
Tritanopia (blue-blind)
#A482A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b066f5;
/* rgb */ color: rgb(176, 102, 245);
/* oklch */ color: oklch(65.6% 0.209 305.2);
Tailwind
colors: {
  custom: {
    50: '#cb95f9',
    500: '#b066f5',
    950: '#000000',
  },
}
SCSS
$custom: #b066f5;
$custom-light: #cb95f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b066f5",
  "rgb": {
    "r": 176,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 271.049,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65642,
    "c": 0.20948,
    "h": 305.2
  },
  "luminance": 0.25325
}

Semantic roles & 50–950 ramp

primary
#B066F5
secondary
#DBF1C6
accent
#E4016F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B066F5

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

Preview Lab → · Contrast checker → · Palette generator →

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