#B668F2#B668F2

#B668F2 is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.4% C 0.205 H 307.8°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B668F2
RGBrgb(182, 104, 242)
HSLhsl(274, 84%, 68%)
HSVhsv(274, 57%, 95%)
CMYKcmyk(24.8%, 57%, 0%, 5.1%)
CIE-LABlab(58.28, 55.35, -57.47)
CIE-LCHlch(58.28, 79.79, 313.92°)
OKLaboklab(66.39% 0.1258 -0.1618)
OKLCHoklch(66.39% 0.205 307.8)
XYZxyz(40.2655, 26.2570, 86.9341)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B668F2 #A4F268
analogous
#7168F2 #B668F2 #F268E9
triadic
#B668F2 #F2B668 #68F2B6
tetradic
#B668F2 #F27168 #A4F268 #68E9F2
square
#B668F2 #F27168 #A4F268 #68E9F2
split-complementary
#B668F2 #E9F268 #68F271
monochromatic
#7C12CE #9B30ED #B668F2 #D1A0F7 #ECD9FC

Accessibility & contrast

On white

3.36
#B668F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#B668F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B668F2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B668F2#FFFFFF#000000##000000
##B668F21.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3589F6
Deuteranopia (green-blind)
#548DEF
Tritanopia (blue-blind)
#AD82A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b668f2;
/* rgb */ color: rgb(182, 104, 242);
/* oklch */ color: oklch(66.4% 0.205 307.8);
Tailwind
colors: {
  custom: {
    50: '#cf96f7',
    500: '#b668f2',
    950: '#000000',
  },
}
SCSS
$custom: #b668f2;
$custom-light: #cf96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b668f2",
  "rgb": {
    "r": 182,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 273.913,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66387,
    "c": 0.20496,
    "h": 307.8
  },
  "luminance": 0.26257
}

Semantic roles & 50–950 ramp

primary
#B668F2
secondary
#D8F0C6
accent
#E10564
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B668F2

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

Preview Lab → · Contrast checker → · Palette generator →

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