#CF7DFA#CF7DFA

#CF7DFA is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.6% C 0.190 H 312.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#CF7DFA
RGBrgb(207, 125, 250)
HSLhsl(279, 93%, 74%)
HSVhsv(279, 50%, 98%)
CMYKcmyk(17.2%, 50%, 0%, 2%)
CIE-LABlab(65.62, 52.67, -50.05)
CIE-LCHlch(65.62, 72.65, 316.46°)
OKLaboklab(72.56% 0.1295 -0.1396)
OKLCHoklch(72.56% 0.19 312.8)
XYZxyz(50.3181, 34.8359, 94.4973)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DFA #A8FA7D
analogous
#907DFA #CF7DFA #FA7DE6
triadic
#CF7DFA #FACF7D #7DFACF
tetradic
#CF7DFA #FA907D #A8FA7D #7DE6FA
square
#CF7DFA #FA907D #A8FA7D #7DE6FA
split-complementary
#CF7DFA #E6FA7D #7DFA90
monochromatic
#A309F3 #B942F8 #CF7DFA #E5B8FC #F4E2FE

Accessibility & contrast

On white

2.64
#CF7DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#CF7DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DFA
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DFA#FFFFFF#000000##000000
##CF7DFA1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#78A1F7
Tritanopia (blue-blind)
#CB91B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7dfa;
/* rgb */ color: rgb(207, 125, 250);
/* oklch */ color: oklch(72.6% 0.190 312.8);
Tailwind
colors: {
  custom: {
    50: '#e0a5fc',
    500: '#cf7dfa',
    950: '#000000',
  },
}
SCSS
$custom: #cf7dfa;
$custom-light: #e0a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7dfa",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 279.36,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72555,
    "c": 0.19039,
    "h": 312.8
  },
  "luminance": 0.34835
}

Semantic roles & 50–950 ramp

primary
#CF7DFA
secondary
#E0F6D5
accent
#E6004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF7DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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