#CF7BFA#CF7BFA

#CF7BFA is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.3% C 0.194 H 313.1°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CF7BFA
RGBrgb(207, 123, 250)
HSLhsl(280, 93%, 73%)
HSVhsv(280, 51%, 98%)
CMYKcmyk(17.2%, 50.8%, 0%, 2%)
CIE-LABlab(65.23, 53.69, -50.67)
CIE-LCHlch(65.23, 73.82, 316.66°)
OKLaboklab(72.26% 0.1321 -0.1414)
OKLCHoklch(72.26% 0.194 313.1)
XYZxyz(50.0675, 34.3347, 94.4137)
Luminance0.3433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BFA #A6FA7B
analogous
#8F7BFA #CF7BFA #FA7BE5
triadic
#CF7BFA #FACF7B #7BFACF
tetradic
#CF7BFA #FA8F7B #A6FA7B #7BE5FA
square
#CF7BFA #FA8F7B #A6FA7B #7BE5FA
split-complementary
#CF7BFA #E5FA7B #7BFA8F
monochromatic
#A309F1 #BA40F8 #CF7BFA #E4B6FC #F4E2FE

Accessibility & contrast

On white

2.67
#CF7BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CF7BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BFA
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BFA#FFFFFF#000000##000000
##CF7BFA1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFE
Deuteranopia (green-blind)
#76A0F7
Tritanopia (blue-blind)
#CB8FAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7bfa;
/* rgb */ color: rgb(207, 123, 250);
/* oklch */ color: oklch(72.3% 0.194 313.1);
Tailwind
colors: {
  custom: {
    50: '#e0a4fc',
    500: '#cf7bfa',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bfa;
$custom-light: #e0a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bfa",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 279.685,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72264,
    "c": 0.1935,
    "h": 313.1
  },
  "luminance": 0.34333
}

Semantic roles & 50–950 ramp

primary
#CF7BFA
secondary
#E0F6D5
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #CF7BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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