#B065F2#B065F2

#B065F2 is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.3% C 0.208 H 306.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B065F2
RGBrgb(176, 101, 242)
HSLhsl(272, 84%, 67%)
HSVhsv(272, 58%, 95%)
CMYKcmyk(27.3%, 58.3%, 0%, 5.1%)
CIE-LABlab(57.03, 55.45, -59.52)
CIE-LCHlch(57.03, 81.34, 312.97°)
OKLaboklab(65.32% 0.122 -0.168)
OKLCHoklch(65.32% 0.208 306)
XYZxyz(38.5818, 24.9486, 86.7702)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B065F2 #A7F265
analogous
#6A65F2 #B065F2 #F265ED
triadic
#B065F2 #F2B065 #65F2B0
tetradic
#B065F2 #F26A65 #A7F265 #65EDF2
square
#B065F2 #F26A65 #A7F265 #65EDF2
split-complementary
#B065F2 #EDF265 #65F26A
monochromatic
#7411CB #932DED #B065F2 #CD9DF7 #EAD6FC

Accessibility & contrast

On white

3.51
#B065F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#B065F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B065F2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B065F2#FFFFFF#000000##000000
##B065F21.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2886F7
Deuteranopia (green-blind)
#4A89EF
Tritanopia (blue-blind)
#A581A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b065f2;
/* rgb */ color: rgb(176, 101, 242);
/* oklch */ color: oklch(65.3% 0.208 306.0);
Tailwind
colors: {
  custom: {
    50: '#cb94f7',
    500: '#b065f2',
    950: '#000000',
  },
}
SCSS
$custom: #b065f2;
$custom-light: #cb94f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b065f2",
  "rgb": {
    "r": 176,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 271.915,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65319,
    "c": 0.20761,
    "h": 306
  },
  "luminance": 0.24948
}

Semantic roles & 50–950 ramp

primary
#B065F2
secondary
#D8F0C3
accent
#E1056C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B065F2

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

Preview Lab → · Contrast checker → · Palette generator →

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